HTML5: the script element

In HTML5, the script element no longer needs the type attribute. This attribute is actually useless, because a browser already knows how to handle the content of such element. So you can write something like this:

<script src=""></script>



As you can see, there's no need of this kind of attribute anymore.

This entry was posted in by Gabriele Romanato. Bookmark the permalink.

Leave a Reply

Note: Only a member of this blog may post a comment.