Thank you Mark, I knew 'language' was the problem but wasn't sure what to do
with it. I am now validating Strict, always a good feeling when you get
there.

Regards
Maureen



> Hi Maureen
>
> The XHTML Strict DTD has this to say about the <script> tag:
>
> <!-- script statements, which may include CDATA sections -->
> <!ELEMENT script (#PCDATA)>
> <!ATTLIST script
>   id          ID             #IMPLIED
>   charset     %Charset;      #IMPLIED
>   type        %ContentType;  #REQUIRED
>   src         %URI;          #IMPLIED
>   defer       (defer)        #IMPLIED
>   xml:space   (preserve)     #FIXED 'preserve'
>   >
>
> Tells you a few things about the tag - reading
> http://www.w3.org/TR/html401/intro/sgmltut.html#h-3.3 might help you
> decipher it. But the key point is that there is no language attribute.
>
> So if you change <script language="JavaScript" type="text/javascript">
> src="menu.js"></script> to <script type="text/javascript">
> src="menu.js"></script> you should be in business.
>
>
> Cheers
>
> Mark
>
>
> ------------------
> Mark Stanton
> Technical Director
> Gruden Pty Ltd
> Tel: 9956 6388
> Mob: 0410 458 201
> Fax: 9956 8433
> http://www.gruden.com
>
> *****************************************************
> The discussion list for http://webstandardsgroup.org/
> See http://webstandardsgroup.org/mail/guidelines.cfm
> for some hints on posting to the list & getting help
> *****************************************************
>

*****************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
***************************************************** 

Reply via email to