[prev in list] [next in list] [prev in thread] [next in thread] 

List:       html5-help
Subject:    Re: [html5] some question about canvas
From:       Lachlan Hunt <lachlan.hunt () lachy ! id ! au>
Date:       2009-01-20 9:55:25
Message-ID: 49759F8D.1060806 () lachy ! id ! au
[Download RAW message or body]

Jason Cole wrote:
> I believe that <script> needs  type="text/javascript" to work. It certainly wouldn't hurt.

Unlike previous versions of HTML, HTML 5 has made the type attribute on 
script and style elements optional, and it makes little difference in 
browsers if it's included or not.  The spec defines the default to be 
text/javascript and that is how browsers behave.

-- 
Lachlan Hunt - Opera Software
http://lachy.id.au/
http://www.opera.com/
_______________________________________________
Help mailing list
Help@lists.whatwg.org
http://lists.whatwg.org/listinfo.cgi/help-whatwg.org
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic