|
Posted by Jukka K. Korpela on 07/16/07 21:01
Scripsit Bergamot:
> 0dev wrote:
>>
>> errors with the validators. For example,
>> the W3C Validator says "end tag for element "HEAD" which is not
>> open." But if you look at the HEAD element it opens and closes
>> normally.
>
> FYI, that is not an error with the validator. It usually indicates an
> error somewhere else that affects parsing.
These days, such document errors typically reflect the common cluelessness
of mixing HTML and XHTML. Using e.g. <meta ... /> in an HTML 4.01 document
means, by specifications, that the "/" closes the meta tag and ">" is
character data, which thus implicitly closes the head element and opens the
body element. This goes, of course, far above the heads of authors who blame
a validator for their own errors.
> It's foolish to expect Safari, or any other browser, to "handle"
> proprietary attributes in any way other than ignoring them altogether.
Well, things _could_ be worse. A proprietary attribute might get interpreted
by a browser other than its inventor's, in some other meaning.
--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/
Navigation:
[Reply to this message]
|