thanks for that. excellent contribution.Originally posted here by :Singh:
No. W3 says, "element "SCRIPT" undefined." It should be <script type="text/javascript"></script>
using upper case still is acceptable for HTML 4.01 Transitional, which from the context of the last post, you should guess that it's what i'm writing at the minute. no? aah well.
anyway...
...as long as you have your <script type="text/javascript"> XHTML 1.0 (or xhtml 1.0) should be happy. no?
W3C, from an xHTML perspective, is not bothered what's between those tags, and doesn't care what javascript (or is that JavaScript) can or can't do, so long as it's contained within those tags, and not scattered throughout the doc?
it's like putting invalid CSS into an xHTML doc, it will still validate as xHTML, so it will.




Reply With Quote