W3C home > Mailing lists > Public > www-html@w3.org > February 2002

RE: structure or presentation?

From: Jelks Cabaniss <jelks@jelks.nu>
Date: Fri, 15 Feb 2002 18:54:17 -0500
To: <www-html@w3.org>
Message-ID: <000a01c1b67c$17777830$6701a8c0@blackie>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:50 GMT