Реклама
Оглавление заголовков
<p><a href="#section1">Introduction</a><br /> <a href="#section2">Some background</a><br /> <a href="#section2.1">On a more personal note</a><br /> …the rest of the table of contents… …the document body… <h2><a name="section1">Introduction</a></h2> …section 1… <h2><a name="section2">Some background</a></h2> …section 2… <h3><a name="section2.1">On a more personal note</a></h3> …section 2.1…
Аналогичного эффекта можно достичь с помощью более простого кода:
<h1>Table of Contents</h1> <p><a href="#section1">Introduction</a><br /> <a href="#section2">Some background</a><br /> <a href="#section2.1">On a more personal note</a><br /> …the rest of the table of contents… …the document body… <h2 id="section1">Introduction</h2> …section 1… <h2 id="section2">Some background</h2> …section 2… <h3 id="section2.1">On a more personal note</h3> …section 2.1…
Оглавление с помощью таблицы:
<table style="margin:0 auto"> <tr> <td span style="text-align: center;"><a href="#section1"><span style="font-size: 24px; font-weight: bold;">Юристы</span></a></td> <td span style="text-align: center;"><a href="#section2"><span style="font-size: 24px; font-weight: bold;">Нотариусы</span></a></td> </tr> </table> <div> </div> <h3 style="text-align: center; color: #3FB09B;" id="section1">Консультации и помощь юристов в области <em>IT</em>-права</h3> <h3 style="text-align: center; color: #3FB09B;" id="section2">Нотарисусы в области <em>IT</em>-права</h3>
Реклама
