1<!DOCTYPE html> 2<html> 3 <head></head> 4 <body> 5 <h3> 6 Anchor Test 7 </h3> 8 <div class="toc"> 9 <p> 10 <b>Table of contents</b> 11 </p> 12 <ul> 13 <li> 14 <a href="#anchor_test.anchors">Anchors</a> 15 </li> 16 <li> 17 <a href="#anchor_test.section_anchor"><span></span>Section Anchor</a> 18 </li> 19 <li> 20 <a href="#anchor_test.conditional_section_anchor"><span></span>Conditional 21 Section Anchor</a> 22 </li> 23 <li> 24 <a href="#anchor_test.lists">Lists</a> 25 </li> 26 <li> 27 <a href="#anchor_test.anchors_in_templates">Anchors in templates</a> 28 </li> 29 <li> 30 <a href="#anchor_test.anchors_in_syntax_highlighted_co">Anchors in syntax 31 highlighted code</a> 32 </li> 33 <li> 34 <a href="#anchor_test.nested_anchors">Nested anchors</a> 35 </li> 36 <li> 37 <a href="#anchor_test.anchors_with_escapes">Anchors with escapes</a> 38 </li> 39 </ul> 40 </div> 41 <div id="anchor_test.anchors"> 42 <h3> 43 Anchors 44 </h3> 45 <div id="anchor_test.anchors"> 46 <p> 47 <span id="a1"></span>A paragraph containing several anchors. <span id="a2"></span>We 48 want to make sure they appear in the correct place. <span id="a3"></span> 49 </p> 50 <h3 id="anchor_test.anchors.this_heading_shouldn_t_pick_up_t"> 51 This heading shouldn't pick up the previous anchor 52 </h3> 53 <span id="a4"></span> 54 <h3 id="anchor_test.anchors.this_heading_should_pick_up_the_"> 55 This heading should pick up the previous anchor 56 </h3> 57 <span id="a5"></span> 58 <h3 id="anchor_test.anchors.and_this_one"> 59 And this one 60 </h3> 61 <span id="a6"></span> 62 <h3 id="anchor_test.anchors.also_this_one"> 63 Also this one 64 </h3> 65 <span id="a7"></span> 66 <h3 id="anchor_test.anchors.finally_this"> 67 Finally this 68 </h3> 69 <span id="a8"></span> 70 </div> 71 </div> 72 <div id="anchor_test.section_anchor"> 73 <h3> 74 <span id="a9"></span>Section Anchor 75 </h3> 76 <div id="anchor_test.section_anchor"> 77 <span id="a11"></span> 78 </div> 79 <div id="anchor_test.section_anchor.nested_section"> 80 <h3> 81 <span id="a10"></span>Nested Section 82 </h3> 83 <div id="anchor_test.section_anchor.nested_section"> 84 </div> 85 </div> 86 </div> 87 <div id="anchor_test.conditional_section_anchor"> 88 <h3> 89 <span id="a12"></span>Conditional Section Anchor 90 </h3> 91 <div id="anchor_test.conditional_section_anchor"> 92 </div> 93 </div> 94 <div id="anchor_test.lists"> 95 <h3> 96 Lists 97 </h3> 98 <div id="anchor_test.lists"> 99 <span id="a14"></span> 100 <ul> 101 <li> 102 <div> 103 Item 1 104 </div> 105 </li> 106 <li> 107 <div> 108 Item 2 109 </div> 110 </li> 111 <li> 112 <div> 113 Nested List <span id="a15"></span> 114 <ul> 115 <li> 116 <div> 117 Nested Item 1 118 </div> 119 </li> 120 <li> 121 <div> 122 Nested Item 2 123 </div> 124 </li> 125 <li> 126 <div> 127 <span id="a16"></span>Nested Item 3 128 </div> 129 </li> 130 </ul> 131 </div> 132 </li> 133 <li> 134 <div> 135 Item 3 136 </div> 137 </li> 138 </ul> 139 </div> 140 </div> 141 <div id="anchor_test.anchors_in_templates"> 142 <h3> 143 Anchors in templates 144 </h3> 145 <div id="anchor_test.anchors_in_templates"> 146 <p> 147 <span id="t1"></span>Some text. 148 </p> 149 <p> 150 <span id="t2"></span>Text content 151 </p> 152 </div> 153 </div> 154 <div id="anchor_test.anchors_in_syntax_highlighted_co"> 155 <h3> 156 Anchors in syntax highlighted code 157 </h3> 158 <div id="anchor_test.anchors_in_syntax_highlighted_co"> 159<pre class="programlisting"><span class="keyword">int</span> <span id="s1"></span><span class="identifier">main</span><span class="special">()</span> <span class="special">{}</span> 160</pre> 161 </div> 162 </div> 163 <div id="anchor_test.nested_anchors"> 164 <h3> 165 Nested anchors 166 </h3> 167 <div id="anchor_test.nested_anchors"> 168 <div id="anchor_test.nested_anchors.table_with_anchors" class="table"> 169 <table> 170 <caption>Table with anchors</caption> 171 <thead> 172 <tr> 173 <th> 174 <p> 175 Heading 176 </p> 177 </th> 178 </tr> 179 </thead> 180 <tbody> 181 <tr> 182 <td> 183 <p> 184 <span id="table1"></span>Cell 1 185 </p> 186 </td> 187 </tr> 188 <tr> 189 <td> 190 <p> 191 <span id="table2"></span>Cell 2 192 </p> 193 </td> 194 </tr> 195 <tr> 196 <td> 197 <p> 198 Cell 3<span id="table3"></span> 199 </p> 200 </td> 201 </tr> 202 </tbody> 203 </table> 204 </div> 205 </div> 206 </div> 207 <div id="anchor_test.anchors_with_escapes"> 208 <h3> 209 Anchors with escapes 210 </h3> 211 <div id="anchor_test.anchors_with_escapes"> 212 <span id="[oddid]"></span> 213 </div> 214 </div> 215 </body> 216</html> 217