Re: [boolean: IE & Gecko] IE treats false as true? (SOLVED)
In article <3FD6547B.50204 00@PointedEars. de>, Thomas 'PointedEars' Lahn
<PointedEars@we b.de> writes
<snip>[color=blue]
>
>,-<http://www.w3.org/TR/html4/appendix/notes.html#h-B.1
>|
>| B.1 Notes on invalid documents
>| [...]
>| For reasons of interoperabilit y, authors must not "extend" HTML
>| through the available SGML mechanisms (e.g., extending the DTD,
>| adding a new set of entity definitions, etc.).[/color]
You missed out a more relevant part of section B.1 :
* If a user agent encounters an attribute it does not recognize, it
should ignore the entire attribute specification (i.e., the
attribute and its value).
They don't want browsers to be upset by unrecognised attributes. On the
other hand, they aren't asking for them to appear in the browser's DOM.
<snip>[color=blue]
>For adding elements and attributes to the language,
>there is Extensible HTML (XHTML):
>
>http://www.w3.org/TR/xhtml1/introduction.html[/color]
XHTML isn't that extensible. You would need to use namespaces, and even
that is not part of strict XHTML 1.0.
John
--
John Harris
In article <3FD6547B.50204 00@PointedEars. de>, Thomas 'PointedEars' Lahn
<PointedEars@we b.de> writes
<snip>[color=blue]
>
>,-<http://www.w3.org/TR/html4/appendix/notes.html#h-B.1
>|
>| B.1 Notes on invalid documents
>| [...]
>| For reasons of interoperabilit y, authors must not "extend" HTML
>| through the available SGML mechanisms (e.g., extending the DTD,
>| adding a new set of entity definitions, etc.).[/color]
You missed out a more relevant part of section B.1 :
* If a user agent encounters an attribute it does not recognize, it
should ignore the entire attribute specification (i.e., the
attribute and its value).
They don't want browsers to be upset by unrecognised attributes. On the
other hand, they aren't asking for them to appear in the browser's DOM.
<snip>[color=blue]
>For adding elements and attributes to the language,
>there is Extensible HTML (XHTML):
>
>http://www.w3.org/TR/xhtml1/introduction.html[/color]
XHTML isn't that extensible. You would need to use namespaces, and even
that is not part of strict XHTML 1.0.
John
--
John Harris
Comment