@rpgfan3233Feb 13.2009 — #No, there are no fixed attributes in HTML 4.01 Strict. There are attributes with default values of course, like @ismap, but there are no fixed attributes in the DTD at all. In HTML 4.01 Transitional, @version on the HTML element is "-//W3C//DTD HTML 4.01 Transitional//EN".
This information is coming straight from the SGML DTDs for those doctypes.
@Mr_Initial_ManauthorFeb 13.2009 — #No, there are no fixed attributes in HTML 4.01 Strict. There are attributes with default values of course, like @ismap, but there are no fixed attributes in the DTD at all. In HTML 4.01 Transitional, @version on the HTML element is "-//W3C//DTD HTML 4.01 Transitional//EN".
This information is coming straight from the SGML DTDs for those doctypes.[/QUOTE]
Thanks. ? I was trying to think of any fixed attributes, but I couldn't remember any!
The only ones I could remember are attributes I should have never used in the first place.
From the HTML 4.01 Transitional/Loose DTD: <!ENTITY &#37; HTML.Version "-//W3C//DTD HTML 4.01 Transitional//EN" -- snip --> <!ENTITY % version "version CDATA #FIXED '%HTML.Version;'" -- snip --> <!ATTLIST HTML %i18n; -- lang, dir -- %version; <i> ></i>
All of that basically becomes the following (only @version is expanded): <!ATTLIST HTML %i18n; -- lang, dir -- version CDATA #FIXED "-//W3C//DTD HTML 4.01 Transitional//EN" <i> ></i>
The same thing is possible in XML DTDs as well, and the XHTML 1.0 DTDs do, in fact, use it for @xml:space for elements like style, script, etc. ^_^
@CharlesFeb 13.2009 — #fixed attributes ?[/QUOTE]The idea is that when the document is properly parsed a fixed attribute will always show up and you can't change it.