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: more xhtml 2.0 comments

From: fantasai <fantasai@escape.com>
Date: Sun, 20 Apr 2003 14:33:04 -0400
Message-ID: <3EA2E7E0.5070409@escape.com>
To: www-html@w3.org

Etan Wexler wrote:
> Daniel Glazman wrote to <mailto:www-html@w3.org> on 14 April 2003 in "more
> xhtml 2.0 comments" (<mid:3E9A73B6.4040708@netscape.com>):
>> 
>>28. in the spirit of XHTML 2.0, the pre element should not exist.
> 
> I agree. The 'pre' element type is presentational.

I disagree. 'pre' means preformatted (read: previously formatted), not
"preserve line breaks". If the content is indeed previously formatted,
then there's no reason why it should not be explicitly marked as such.
Take, for example, this page:
   http://lists.w3.org/Archives/Public/www-html/2002Nov/0028.html 

The body text of that email is preformatted: I formatted it as
plaintext before sending it to the list. You cannot mark it up
any other way. To write a script that wraps each line in <l>
would be wrong, as the line breaks are a result of word wrap,
not a logical break in the text. To put each visual block in a
paragraph would also be wrong, because some of these blocks may
not be paragraphs; there's no way to tell without having a human
actually re-format the email as HTML.

~fantasai
Received on Sunday, 20 April 2003 14:32:12 GMT
Valid XHTML 1.0! Valid CSS! Site Map | Privacy Policy | Terms of Use | WebHeadStart.org © 2005 All Rights Reserved.