Thankfully, Sjoerd Visscher created the "HTML5 enabling JavaScript", "The Shiv":
<!--[if Lt IE 9]>
<script src= "Https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.2/html5shiv.js" ></script>
<! [endif]-->
The code above is a comment, but versions previous to IE9 would read it (and understand it).
Adding New Elements to HTML
You can add any of the new element to the HTML with a browser trick:
This example adds a new element called <myHero> to HTML, and defines a display style for it:
<! DOCTYPEHtml>
<Html>
<Head>
<title >creating an HTML element</title>
<script> Document.createelement ("Myhero") </script
<style>
Myhero {
display:block;
padding:50px;
font-size:30px;
}
</style >
<!--[If Lt IE 9]>
<script src= "Https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.2/html5shiv.js" ></script>
<! [endif]-->
</head>
<body>
<h1>my first Heading </h1>
<< Span class= "Highele" >p>my first Paragraph. </p>
< Myhero>my first Hero</myhero >
</body>
</html>
Solve IE9 The following IE version does not recognize the new element method add a JS--Shiv solution