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: XHTML copy and pasting *with* format (and potentially, meaning)

From: David Woolley <david@djwhome.demon.co.uk>
Date: Tue, 27 Sep 2005 07:39:30 +0100 (BST)
Message-Id: <200509270639.j8R6dUj03036@djwhome.demon.co.uk>
To: www-html@w3.org

> Excellent answer, I couldn't have hoped for more.

> With the *current* use of the class attribute (basically, 95% of the cases,
> for styling, and nothing else), your answer was simply perfect.

I don't think you did understand.  class should almost never be used for
styling; it should be used for meaning.  The style sheet should then
associate styling with that meaning.

The problem is that most commercial (and vanity page) authors don't care
about meaning, and so will write:

<span class="redbold"> ...</span>  

(very few would use class="red bold", because they don't know they can)

rather than 

<strong class="dangerous">...</strong>

For the vast majority of authors, a meaning attribute will never be used,
and those who use it would have probably used class properly.
Received on Tuesday, 27 September 2005 07:14:47 GMT
Valid XHTML 1.0! Valid CSS! Site Map | Privacy Policy | Terms of Use | WebHeadStart.org © 2005 All Rights Reserved.