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