| 1 | <html> |
| 2 | <head> |
| 3 | <title>Anchors</title> |
| 4 | </head> |
| 5 | |
| 6 | <body> |
| 7 | <h1>Anchors</h1> |
| 8 | |
| 9 | <h2>Anchors using NAME attribute</h2> |
| 10 | |
| 11 | <a name="test01">normal anchor</a> |
| 12 | |
| 13 | <h1><a name="test02">anchor inside a header 1</a></h1> |
| 14 | <h2><a name="test03">anchor inside a header 2</a></h2> |
| 15 | |
| 16 | <a name="test04"><h1>anchor surrounding a header 1</h1></a> |
| 17 | <a name="test05"><h2>anchor surrounding a header 2</h2></a> |
| 18 | |
| 19 | <a name="test06"><b>anchor with a bold tag inside</b></a><br> |
| 20 | <b><a name="test07">anchor inside a bold tag</a></b><br> |
| 21 | <b><a name="test08">anchor inside a bold tag but end tags are inverted</b></a><br> |
| 22 | |
| 23 | |
| 24 | <a name="test09"><p>anchor with a paragraph tag inside</p></a> |
| 25 | <p><a name="test10">anchor inside a paragraph tag</a></p> |
| 26 | <p><a name="test11">anchor inside a paragraph tag but end tags are inverted</p></a> |
| 27 | |
| 28 | <h2>Anchors using ID attribute</h2> |
| 29 | |
| 30 | <a id="test">normal anchor</a> |
| 31 | |
| 32 | |
| 33 | <a id="test12"><b>anchor with a bold tag inside</b></a><br> |
| 34 | <b><a id="test13">anchor inside a bold tag</a></b><br> |
| 35 | <b><a id="test14">anchor inside a bold tag but end tags are inverted</b></a><br> |
| 36 | |
| 37 | |
| 38 | <a id="test15"><p>anchor with a paragraph tag inside</p></a> |
| 39 | <p><a id="test16">anchor inside a paragraph tag</a></p> |
| 40 | <p><a id="test17">anchor inside a paragraph tag but end tags are inverted</p></a> |
| 41 | |
| 42 | </body> |
| 43 | </html> |