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.

Received on Wednesday, 11 February 2009 01:37:35 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:42 UTC