[html4all] 5 gears in reverse - anne v k enters the alt attribute debate

Philip Taylor (Webmaster) P.Taylor at Rhul.Ac.Uk
Fri Sep 21 06:31:42 PDT 2007



Charles McCathieNevile wrote:

> Whoops. Should have been
> 
> [[[
>      The FPI for the Strict HTML 4.01 DTD is:
> 
>          "-//W3C//DTD HTML 4.01//EN"
> ]]] - http://www.w3.org/TR/html4/loose.dtd

No, if it's strict, the full form is

	    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
             "http://www.w3.org/TR/html4/strict.dtd">

but the URL is not required.  Anne used the short
form (just the FPI) which is sufficient.  He is
writing in HTML 4.01 Strict, and his document
(the one cited by Steve)

	http://annevankesteren.nl/2007/09/alt

contains four errors :

Line 60, Column 30: there is no attribute "REQUIRED".
Line 63, Column 20: value of attribute "TYPE" cannot be "EMAIL"; must be one of "TEXT", "PASSWORD", "CHECKBOX", "RADIO", "SUBMIT", "RESET", "FILE", "HIDDEN", "IMAGE", "BUTTON"
Line 66, Column 18: value of attribute "TYPE" cannot be "URL"; must be one of "TEXT", "PASSWORD", "CHECKBOX", "RADIO", "SUBMIT", "RESET", "FILE", "HIDDEN", "IMAGE", "BUTTON".
Line 69, Column 21: there is no attribute "REQUIRED".

Thus the assertion at line two of the page

	<!-- It’s valid, sure. -->

is incorrect and the page is invalid.

** Phil.




More information about the List_HTML4all.org mailing list