Computer >> Computer tutorials >  >> Programming >> Javascript

Internet Explorer 8 will not modify HTML5 tags in print stylesheet


You should try html5shiv. To enable HTML5 elements in IE, you need to use plugins like html5shiv. The HTML5 Shiv enables use of HTML5 sectioning elements in legacy Internet Explorer and provides basic HTML5 styling for Internet Explorer 6-9,

With that, you can also use document.createElement to create an element.

var demo = document.createElement("demo");
demo.innerHTML = "Working!";

document.appendChild(demo);