Quote:
Originally Posted by crich70
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