Thereâ€™s pretty much one element you absolutely canâ€™t live without when marking up your pages. Itâ€™s the paragraph element. Youâ€™ll use this tag to mark, you guessed it, paragraphs. Hereâ€™s how:
<p>This is my paragraph that isnâ€™t much of a paragraph. Arenâ€™t paragraphs 3-4 sentences long?</p>
Of course youâ€™ll typically want to express yourself a little more when writing a paragraph by emphasizing text or by making it strong. The tags you use here are equally obvious, thatâ€™s right the em and strong tags.
To add emphasis to your words wrap them up in an em tag like this:
<p>This is my paragraph that <em>isnâ€™t much of a paragraph</em>. Arenâ€™t paragraphs 3-4 sentences long?</p>
And to add a little power to a word give it a strong tag:
<p>This is <strong>my</strong> paragraph that isnâ€™t much of a paragraph. Arenâ€™t paragraphs 3-4 sentences long?</p>
Iâ€™m sure youâ€™ve heard of the bold and italic equivalents of these elements, b and i. These tags are valid but you shouldnâ€™t use them because they express how something should be presented. Itâ€™s best to just use XHTML for structural purposes and let CSS decide what to make bold and italic.