View Single Post
Old 03-07-2010, 08:08 PM   #8
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
Quote:
Originally Posted by Lago View Post
so, this would be in the TOC
<h1 align="center">Table of Contents</h1> (this is bacically the title of the TOC, center aligned)
<p><a href="chapter-1">the text to click</a>
</p>


and this should be in the file.
<a name="chapter-1">the text to go to</a>

right?
Almost. If chapter-1 was the name of a file then it must end with the correct full filename including extension say chapter-1.html. No name need in the file itself if it is desired to start at the beginning.

It chapter-1 is in this file then it would need to be preceded with a # to indicate that it is in this file. <a href="#chapter-1">Chapter 1</a>

Dale.
DaleDe is offline   Reply With Quote