Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (20 sloc) 0.775 kb
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>HTML5 Shiv</title>
<link rel="stylesheet" href="style.css">
<script src="../src/html5shiv-printshiv.js"></script>
</head>
<body>
<section>This sentence is in a green box <mark>with these words highlighted</mark>.</section>
<script id="script">
var div = document.createElement('div');
div.innerHTML = '<section>This native javascript sentence is in a green box <mark>with these words highlighted</mark>?</section>';
var frag = document.createDocumentFragment();
frag.appendChild(div);
div.innerHTML += '<section>This native javascript sentence is also in a green box <mark>with these words highlighted</mark>?</section>';
document.body.appendChild(frag);
</script>
<body>
</html>
Jump to Line
Something went wrong with that request. Please try again.