View Single Post
Old August 31st, 2004, 05:08 PM
richard.york's Avatar
richard.york richard.york is offline
Wrox Author
Points: 5,506, Level: 31
Points: 5,506, Level: 31 Points: 5,506, Level: 31 Points: 5,506, Level: 31
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Jun 2003
Location: Camby, IN, USA.
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts

<strong> and <em> add structural meaning to the markup, which can be used in aural browsers to trigger a louder or more emphasized voice for instance. In purely visual browsers most browsers interpret <strong> as bold text and <em> as italic text, although the specifications do not require this. Using these tags for their pre-defined presentation is generally fine since they also add structural meaning and that structural meaning is generally associated with the bold or italic font style. If an effect is purely presentational and there is no extra meaning that you wish to convey you should use CSS instead, either on the containing block or by inserting <span> tags.

<b> and <i> are purely presentational, and are deprecated, so you should avoid them all together.


[] A PHP/C-Client/PEAR solution for webmail