Last Updated: September 09, 2019
·
1.073K
· adelonzeta

HTML5 Shiv

Force IE to render new HTML5 elements and use the specified CSS styling. Example below uses the 'section' tag.

Insert this script in the Head tag of your document.

<script>document.createElement("section")</script>

Have a fresh tip? Share with Coderwall community!

Post
Post a tip
Did you know?

JavaScript on a page runs with the privileges of that origin. One altered library, tag manager, or snippet can read inputs, change what people see, and call your APIs as the user.

Security insights from Cside