|
Posted by Jerry Stuckle on 06/13/06 01:36
Jim Carlock wrote:
> "Jerry Stuckle" <jstucklex@attglobal.net> wrote:
>
>>HTML tags are case-insensitive, so <html> is exactly
>>the same as <HTML>. No problem there.
>
>
> Well, if you want to write quirks mode HTML put them
> all in upper case. If you want to write compliant XHTML
> (no matter if you're using STRICT, TRANSITIONAL or
> whatnot) make sure ALL tags are lowercase.
>
> The validator doesn't validate <HTML> if you're using
> XHTML or newer but does approve and validate <html>.
>
> The point being that it's better to stick with the forward
> thinking lowercase than it is to mess with quirks mode.
>
Upper case "html" is not quirks mode when running HTML.. By definition, HTML is
case insensitive, and the validator is correct in not flagging it.
And this is not XML or XHML - there is no DOCTYPE statement. So <HTML> is just
as valid as <html>.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|