W3C home > Mailing lists > Public > public-html@w3.org > September 2007

Re: New elements vs. Trident

From: Dean Edwards <dean@edwards.name>
Date: Sun, 16 Sep 2007 18:01:53 +0100
Message-ID: <46ED6181.9060708@edwards.name>
To: Maciej Stachowiak <mjs@apple.com>
CC: "public-html@w3.org WG" <public-html@w3.org>

Maciej Stachowiak wrote:
> Something like this:
> 
> <newelement><em>some text</em></newelement>
> 
> Creates a DOM like this:
> 
> BODY
>     NEWELEMENT
>     EM
>         #text: some text
>     /NEWELEMENT
> 

> However, it would be nice to avoid the need for such script hacks. Can 
> anyone from Microsoft comment on the possibility of fixing the handling 
> of unknown elements in IE, even well in advance of broader 
> implementation of HTML5?

For XHTML you can mark up new elements like this:

<html:newelement><em>some text</em></html:newelement>

-dean
Received on Sunday, 16 September 2007 23:36:56 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:38:49 UTC