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

Re: [html5] proposal to add <text> element.

From: Simon Pieters <simonp@opera.com>
Date: Wed, 11 Feb 2009 09:52:14 +0100
To: "Andrew Fedoniouk" <news@terrainformatica.com>, public-html@w3.org
Message-ID: <op.uo6ixcfmidj3kv@zcorpandell.linkoping.osa>

On Wed, 11 Feb 2009 02:36:58 +0100, Andrew Fedoniouk <news@terrainformatica.com> wrote:

>
> 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.

I don't understand why <text> would be better than <div>?

-- 
Simon Pieters
Opera Software
Received on Wednesday, 11 February 2009 08:52:56 GMT

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