RE: structure or presentation?

Jamal Mavadat wrote:

> Could anyone tell me the difference between a structural 
> element and a presentational one.

Structure = what it *is*.
	HTML examples:  
	<p> is a paragraph
	<q> is an inline quote
	<blockquote> is a block quote

Presentation = what it might *look like*.
	HTML examples:
	<b> can look bold (on a device that can show it)
	<center> can make a section centered (on a device that can do
it)
	<font> can show a font (on a device that can show it)

The trend going forward is to do away with most (or all) presentational
markup.  If you want to suggest presentation on the web, use stylesheets
(i.e., CSS).


/Jelks

Received on Friday, 15 February 2002 18:54:50 UTC