<html> | |
<head> | |
<style> | |
p, div, h1 { border: 1px solid red; | |
font-size: 20px; | |
font-family: monospace; | |
width: 400px; } | |
</style> | |
</head> | |
<body> | |
<p>One Two[]</p> | |
<nav class="tableofcontents"> | |
<p class="toc1"><a href="#item1">First</a></p> | |
<p class="toc1"><a href="#item2">Second</a></p> | |
</nav> | |
<p>Four Five Six</p> | |
<h1 id="item1">First</h1> | |
<h1 id="item2">Second</h1> | |
</body> | |
</html> |