November 30, 2011 11:27 pm GMT
Original Link: http://css-tricks.com/15276-the-script-tag/
The Script Tag
I got a great question from reader Josh Kreis:
I've noticed that on a <script>
tag, there are all kinds of variations that all seem to work cross-browser. What is necessary and what isn't?
<script>//some javascript here</script><script type="text/javascript">//some javascript here</script><script type="text/javascript" language="javascript">//some javascript here</script><script language="javascript">//some javascript here</script><script type="text/javascript">//<![CDATA[// some javascript here//]]></script>
This is the scoop as far as I understand it. If anyone…
The Script Tag is a post from CSS-Tricks
Original Link: http://css-tricks.com/15276-the-script-tag/
Share this article:
Tweet
View Full Article