View Single Post
Old 04-10-2011, 05:39 PM   #16
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 crich70 View Post
I found two pieces of code to do with links. I'm not sure which is the right one for that.
<a href="#tips">Visit the Useful Tips Section</a>
or
<a name="tips">Useful Tips Section</a>
Or do I have to put one in one place and the other in the actual book files?
I just think it would make for a neater looking ebook file when building an omnibus book.
The first one links to the second one. name= is no longer the preferred syntax. It should be id=

To make a book with in-line links your would place several of the first type in a list on a page. It could be a separate file or just add it to an existing file in your ebook.

The syntax of the first link says the second link is in the same file. If it is really in another file then you might say href="anotherfile.xhtml#tips"

Dale
DaleDe is offline   Reply With Quote