Welcome to WebHeadStart.org

Web Technologies

Sponsored By

WebHeadStart.org is currently in beta.
Please pardon our appearance as we work to provide you with the most comprehensive reference on today's web technologies.

Interested in advertising on WebHeadStart? Become an advertising partner today!

[WWW-HTML Mailing List Archive Home] [Messages By Thread] [Messages By Date]

Re: Semantic versus Structure for XHTML 2.0

From: Philip TAYLOR [PC87S/O-XP] <P.Taylor@Rhul.Ac.Uk>
Date: Fri, 16 May 2003 12:13:55 +0100
Message-ID: <3EC4C7F3.F1A63825@Rhul.Ac.Uk>
To: "www-html@w3.org" <www-html@w3.org>, Karl Dubost <karl@w3.org>

Further to my earlier comment, I now feel that 

> > <div sem="address">
> > <l sem="person">Haruki Murakami</l>
> > <l sem="street">Omote-Sando</l>
> > <l sem="city">  Tokyo</l>
> > </div>

is itself sub-optimal; why invent a parameter "sem" when
the existing parameter "class" is intended to convey exactly
that ?  In which case, the optimal markup would become :

	<div class="address">
	<l class="person">Haruki Murakami</l>
	<l class="street">Omote-Sando</l>
	<l class="city">  Tokyo</l>
	</div>

if each address element is /defined/ to occupy one line;
however, since there may be contexts within which it
is desirable to render an address in a compact form,
it would surely be better to represent this as

	<div class="address">
	<span class="person">Haruki Murakami</span>
	<span class="street">Omote-Sando</span>
	<span class="city">Tokyo</span>
	</div>

and leave it up to CSS styling rules to decide whether
spans of class "person", "street", "city", etc., should
be block or inline.

Philip Taylor, RHBNC
Received on Friday, 16 May 2003 07:15:06 GMT
Valid XHTML 1.0! Valid CSS! Site Map | Privacy Policy | Terms of Use | WebHeadStart.org © 2005 All Rights Reserved.