Laura wrote:
> Are there any hints for having the script tag elements validate
> or will they always give errors?

Short answer: put the script in question in an external script imported 
with the "src" attribute rather than inline.

Longer answer, read:

* XHTML 1.0 specification on "Script and Style elements":
   http://www.w3.org/TR/xhtml1/#h-4.8

* XHTML 1.0 specification's compatibility suggestions for "Embedded 
Style Sheets and Scripts" when serving as text/html tag soup:
   http://www.w3.org/TR/xhtml1/#C_4

* "HTML Comments in Scripts" for a discussion of some of the issues:
   http://lachy.id.au/log/2005/05/script-comments

You might also want to read:

http://www.webdevout.net/articles/beware-of-xhtml

and think about whether XHTML was really the best choice on technical 
grounds for your use-case …

Hope that helps.

--
Benjamin Hawkes-Lewis
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to