How to use jQuery in HTML5

Many websites make use of the free javascript library jQuery which is also HTML5 supported because it is Javascript written. Similar to XHTML, jQuery can be evoked in HTML5 and can be applied to as well-known as new HTML5 elements. We always advise people to make use of the Google jQuery link because this link is used on many websites increasing the chance potential website visitors have already saved the jQuery library in their cache which on its turn decreases the loading time of your website.

<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>

Find the latest version of jQuery here:
https://developers.google.com/speed/libraries/devguide#jquery



Was this useful?