W3C home > Mailing lists > Public > public-html@w3.org > February 2009

[html5] proposal to add <text> element.

From: Andrew Fedoniouk <news@terrainformatica.com>
Date: Tue, 10 Feb 2009 17:36:58 -0800
Message-ID: <49922BBA.4020907@terrainformatica.com>
To: public-html@w3.org

I propose to add <text> element to the list of supported elements.
<text> is exactly <p> in all meanings other than default styling: it has 
no margins by default.

Having it in place will help to deal with the text in WYSIWYG editors 
and in other places where generic text container is required.
Outlook for example creates paragraphs as <div>s so in mail systems that 
do not use or have limited CSS support text
appears without "extra lines". Many pages too abuse <div> element - are 
using it as just a margin-less text element.
That is not so pretty, IMO.

-- 
Andrew Fedoniouk.

http://terrainformatica.com
Received on Wednesday, 11 February 2009 01:37:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:29 GMT