Literature Quote of the Day

How to tell somebody off the classy way:

[Thou] leathern-jerkin, crystal-button, knot-pated, agate-ring, puke-stocking, caddis-garter, smooth-tongue, Spanish pouch!

-William Shakespeare (Henry IV Part I)

Shakespearean insult generator

Use a pound sign followed by the element's ID in CSS to specify you're not talking about a tag type any more, but a specific element: For example, the CSS code contains the selector #attribution, meaning, “Apply this style to an element with the attribution id.”

The ID trick works great on any named element. IDs have to be unique (you can't repeat the same ID on one page), so this technique is best when you have a style you want to apply to only one element on the page.


Emphaisis and Strong Emphasis

This paragraph illustrates two main kinds of emphasis. This sentence uses the em tag. By default, emphasis is italic. This sentence uses strong emphasis. The default formatting of strong emphasis is bold.

Of course you can change the formatting with CSS. This is a great example of semantic formatting. Rather than indicating the formatting of some text, you indicate how much it is emphasized.

This way, you can go back and change things, like adding color to emphasized text without the formatting commands muddying your actual text.

For exercise, I shall specify some style to both emphasis and strong.

The style sheet is embedded in the web page between style tags. Neat example! - It uses style definition in the 'Styles' section.

4 vertical spaces