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
	<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).

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

This archive was generated by hypermail 2.3.1 : Sunday, 15 July 2018 06:07:48 UTC