[thelist] Valid <script>...</script> use

Matt Warden mwarden at gmail.com
Thu Jan 27 13:07:20 CST 2005


Jono,

On Thu, 27 Jan 2005 13:40:54 -0500, Jono <ox4dboy at comcast.net> wrote:
> Quick validation question:
> 
> When using something like:
> 
> <td><script>mail("name","domain","0","")</script></td>
> 
> Do I need to put <script type="text/javascript"> in the tag to make it
> valid?
> 
> I have declared <script type="text/javascript"> in the header link for
> the external javascript file, but do I also need to do it for all of
> the embedded <script> tags?

http://www.w3.org/TR/REC-html40/interact/scripts.html#h-18.2.1



-- 
Matt Warden
Miami University
Oxford, OH, USA
http://mattwarden.com


This email proudly and graciously contributes to entropy.


More information about the thelist mailing list