Linkable Table of Contents

Below is the coding for a linkable table of contents.

OPTION ONE: LINKS TO PAGES IN YOUR eBOOK

If you split your chapters into individual HTML pages, then your TOC would appear like this:

<p><a id="toc"/></p>
<p>Table of Contents</p>
<p><a href="../Text/content.xhtml">Chapter 1</a></p>
<p><a href="../Text/chapter2.xhtml">Chapter 2</a></p>
<p><a href="../Text/chapter3.xhtml">Chapter 3</a></p>
<p><a href="../Text/ack.xhtml">Acknowledgements</a></p>
<p><a href="../Text/author.xhtml">About the Author</a></p>

(more…)

Continue Reading

Linkable Table of Contents

Below is the coding for a linkable table of contents.

OPTION ONE: LINKS TO PAGES IN YOUR eBOOK

If you split your chapters into individual HTML pages, then your TOC would appear like this:

<p><a id="toc"/></p>
<p>Table of Contents</p>
<p><a href="../Text/content.xhtml">Chapter 1</a></p>
<p><a href="../Text/chapter2.xhtml">Chapter 2</a></p>
<p><a href="../Text/chapter3.xhtml">Chapter 3</a></p>
<p><a href="../Text/ack.xhtml">Acknowledgements</a></p>
<p><a href="../Text/author.xhtml">About the Author</a></p>

(more…)

Continue Reading
Close Menu
×
×

Cart