The Complete Shiv Solution

The link to the shiv code must be placed in the <head> element, because Internet Explorer needs to know about all new elements before reading them.

HTML file: Displayed by browser:
<!DOCTYPE html>
<html>
<head>
  <title>Styling HTML5</title>
  <!--[if lt IE 9]>
  <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
  <![endif]-->
</head>
<body>

<h1>My First Article</h1>

<article>
London is the capital city of England. It is the most populous city in the United Kingdom, with a metropolitan area of over 13 million inhabitants.
</article>

</body>
</html>

My First Article

London is the capital city of England. It is the most populous city in the United Kingdom, with a metropolitan area of over 13 million inhabitants.

Well, this isn't gonna work, unless I have an old browser... which I don't...

Back button Table of Contents Next button