|
Posted by David Hεsδther on 08/09/05 20:06
Albert Wiersch <mrinternetnewsREMOVEUPPERCASETOREPLY@wiersch.com>
wrote:
> Is this (with lowercase "html")
> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
> "http://www.w3.org/TR/html4/loose.dtd">
>
> the same as (with uppercase "HTML"):
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
> "http://www.w3.org/TR/html4/loose.dtd">
>
> Are both technically valid and do both (technically) mean the same
> thing? I would like to know on a technical web standards level.
It would be wrong to call a DOCTYPE declaration valid, but yes, both
are correct and means the exact same thing.
As you may know, the first parameter of a DOCTYPE declaration is the
document element (or root element). Since HTML uses NAMECASE GENERAL
YES in the NAMING section of the SGML declaration, "html" will be case-
folded to "HTML".
--
David HΓ₯sΓ€ther
Navigation:
[Reply to this message]
|