OILS / demo / anchors.html View on Github | oilshell.org

119 lines, 98 significant
1<html>
2
3 <!--
4 Demo of how HTML internal anchors work
5
6 We can only link to id="", not the heading text
7 -->
8
9<body>
10
11 <div>
12 TOC
13
14 <a href="#H2 Heading One">Link to H2 Heading One</a> <br/>
15
16 <a href="#H2 Heading Two">Link to H2 Heading Two</a> <br/>
17
18 <a href="#heading-2">Link to heading-2</a> <br/>
19
20 <a href="#heading-3">Link to heading-3</a> <br/>
21 </div>
22
23 a <br/>
24 a <br/>
25 a <br/>
26 a <br/>
27 a <br/>
28 a <br/>
29 a <br/>
30 a <br/>
31 a <br/>
32 a <br/>
33 a <br/>
34 a <br/>
35 a <br/>
36 a <br/>
37 a <br/>
38 a <br/>
39 a <br/>
40 a <br/>
41 a <br/>
42 a <br/>
43 a <br/>
44 a <br/>
45 a <br/>
46 a <br/>
47
48
49 <h2>H2 Heading One</h2>
50
51
52 b <br/>
53 b <br/>
54 b <br/>
55 b <br/>
56 b <br/>
57 b <br/>
58 b <br/>
59 b <br/>
60 b <br/>
61 b <br/>
62 b <br/>
63 b <br/>
64 b <br/>
65 b <br/>
66 b <br/>
67 b <br/>
68 b <br/>
69 b <br/>
70 b <br/>
71 b <br/>
72 b <br/>
73 b <br/>
74 b <br/>
75 b <br/>
76
77 b <br/>
78 b <br/>
79 b <br/>
80 b <br/>
81 b <br/>
82 b <br/>
83 b <br/>
84 b <br/>
85 b <br/>
86 b <br/>
87 b <br/>
88 b <br/>
89 b <br/>
90 b <br/>
91 b <br/>
92 b <br/>
93 b <br/>
94 b <br/>
95 b <br/>
96 b <br/>
97 b <br/>
98 b <br/>
99 b <br/>
100 b <br/>
101
102
103 <h2 id="heading-2">H2 Heading Two</h2>
104
105 Text 2
106
107 c <br/>
108 c <br/>
109 c <br/>
110
111 <!--
112 woudl be necessary
113 <a name="heading-3"></a>
114 -->
115 <h2>heading-3</h2>
116
117</body>
118</html>
119