Re: Valid Code Question

On Tue, 2002-03-26 at 17:06, Bain, Kathy D wrote:
> I'm teaching myself CSS, so I used the validator to check a stylesheet I've
> created.  The validator gave me the following warnings.  What do the error
> messages mean?

Your question are about the HTML validator, not the CSS Validator. I
suggest to resend your message to www-validate@w3.org.

Philippe

> Line 10, column 29:
>               <script language="JavaScript">
>                                          ^
>           Error: required attribute "TYPE" not specified
> 
> 
> Line 21, column 6: 
>             </head>
>                   ^
> Error: end tag for element "HEAD" which is not open
> 
> 
> Line 23, column 16: 
>             <body topmargin="0" leftmargin="0" marginwidth="0"
> marginheight="0">
>                             ^
> Error: there is no attribute "TOPMARGIN"
> 
> 
> Line 23, column 31: 
>             <body topmargin="0" leftmargin="0" marginwidth="0"
> marginheight="0">
>                                                    ^
> Error: there is no attribute "LEFTMARGIN"
> 
> 
> Line 23, column 47: 
>             <body topmargin="0" leftmargin="0" marginwidth="0"
> marginheight="0">
>  
> ^
> Error: there is no attribute "MARGINWIDTH"
> 
> 
> Line 23, column 64: 
>             <body topmargin="0" leftmargin="0" marginwidth="0"
> marginheight="0">
>  
> ^
> Error: there is no attribute "MARGINHEIGHT"
> 
> 
> Line 23, column 67: 
>             <body topmargin="0" leftmargin="0" marginwidth="0"
> marginheight="0">
> Error: document type does not allow element "BODY" here
> 
> 
> Line 29, column 96: 
>             ... width="242" height="48" usemap="#bLogo" border="0"> 
>                                                                   ^
> Error: required attribute "ALT" not specified
> 
> 
> Line 77, column 15: 
>                 <td width=2%>&nbsp;</td>
>                            ^
> Error: an attribute value must be a literal unless it contains only name
> characters
> 
> Line 103, column 94: 
>             ... Begin Course</a></p><hr size="1" noshade width=100%>
>                                                                   ^
> Error: an attribute value must be a literal unless it contains only name
> characters
> 
> 
> Line 106, column 32: 
> 
> <hr size="1" noshade width=100%>
>                          ^
> Error: an attribute value must be a literal unless it contains only name
> characters
> 
> 
> Kathy Bain
> kathy.d.bain@boeing.com
> 
> 
> 
-- 
Philippe Le Hegaret - http://www.w3.org/People/LeHegaret/
World Wide Web Consortium (W3C), DOM Activity Lead

Received on Tuesday, 26 March 2002 17:48:39 UTC