[thelist] Validation question
Hershel Robinson
hershelr at netvision.net.il
Mon Sep 5 02:25:57 CDT 2005
>> The following HTML validates with any (AFAIK)
>> doctype:
>>
>> <html>
>> <head>
>> <title></title>
>> </head>
>> <body>
>> <img src="x" alt="" />
>> </body>
>> </html>
>
>
> Not with a (X)HTML Strict doctype.
Correct:
Error Line 8 column 21: document type does not allow element "img" here;
missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div",
"address", "fieldset", "ins", "del" start-tag.
I stand corrected.
Thanks,
Hershel
More information about the thelist
mailing list