join: new@juude



get alerts for new articles






CLOSE WINDOW

join: new@juude



get alerts for new articles






CLOSE WINDOW
html5

Introduction


Target Internet Explorer

Earlier versions of Internet Explorer do not read html5 tags. In order to rectify this you need include the following javaScript. You can either place it in the head of the document or link to it. The script or link must be placed in the head of the document because Internet Explorer needs to read it before the rest of the code so that the page will load correctly.

UPDATE
Here is a link to javaScript on GIitHub which will allow the html5 page to display and print correctly from early versions of IE.
https://github.com/aFarkas/html5shiv/blob/master/src/html5shiv-printshiv.js

Still use the conditional information with the link to the javaScript In the head of your document.

LISTED EARLIER
You can still use the following but its probably better if you just use the javaScript from GlitHub

    <script>
    document.createElement('header');
    document.createElement('footer');
    document.createElement('nav');
    document.createElement('section');
    document.createElement('article');
    document.createElement('hgroup');
    document.createElement('figure');
    document.createElement('figcaption');
    document.createElement('main');
    </script>

Add other elements as needed.