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

Hi Andrew :-),
>
> 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.
HTML is a semantic and a markup language. Browsers proposes default 
stylesheets for each elements but it must not be a reference.
<p> has a specific meaning in a document, but I don't understand the 
meaning for <text> … Can you explain more that “a style property changes”.
>
> 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.
Well, what about <span> in this case ?

Cheers.

-- 
Ivan Enderlin
Developper of Hoa Framework
http://hoa-project.net/

Received on Wednesday, 11 February 2009 07:29:51 UTC