W3C home > Mailing lists > Public > www-html@w3.org > August 2005

Re: XHTML2: Proposal for total separation of semantics from structure

From: Toby A Inkster <tai@g5n.co.uk>
Date: Mon, 29 Aug 2005 07:16:14 +0000
To: Junk Account <avoid.spam.account@gmail.com>
Cc: www-html@w3.org
Message-Id: <1125229466.2500.29.camel@ophelia.g5n.co.uk>




On Tue, 2005-08-23 at 08:10 +0000, Junk Account wrote:
> But we still mix structure with semantic meaning.

This was discussed on this list about a year or so ago, and I am in
agreement with you.

Elements like <section>, <h>, <ul>, <li>, <p> and so forth are clearly
"structure" elements.

OTOH, there are some that are clearly a handful of "semantics" elements,
like <code>, <cite> and <nl>.

The semantic elements should be ditched in favour of an entirely
structural XHTML. A "semantics" attribute could be introduced though. 

e.g.:

	<pre semantics="code" class="perl">
	while(1)
	{
		print "Hello world!\n";
	}
	</pre>

	<div semantics="address">
		<l>123 Quux Street</l>
		<l>Foobar</l>
		<l>Anytown</l>
	</div>

	<ul>
		<li semantics="cite">The Vicar of Nibbleswick</li>
		<li src="witches_cover.jpeg"
		    semantics="cite">The Witches</li>
		<li href="http://amazon.com/foo/bar/00002134/view"
		    semantics="cite">Esiotrot</li>
	</ul>

-- 
Toby A Inkster BSc (Hons) ARCS
Contact Me  ~ http://tobyinkster.co.uk/contact
Received on Tuesday, 30 August 2005 04:59:17 GMT

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