Thread: Links in ebooks
View Single Post
Old 10-31-2011, 02:12 PM   #5
BeccaPrice
Wizard
BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.
 
BeccaPrice's Avatar
 
Posts: 2,146
Karma: 11174187
Join Date: Jan 2011
Device: Sony 350, K3-3G, K4SO, KPW
Quote:
Originally Posted by Jellby View Post
And you don't need to use an <a> for an anchor, you can add the "id" to whatever element, like a <p>, <h2> or <img>:

Code:
<p>This <a href="#target">link</a> wil take you to the next paragraph.</p>

<p id="target">This paragraph is the target of the previous link, and any other link that points to "#target".</p>

I'm not familiar with the id tag - is that what the hash mark in the href tag refers to? I notice there's not # in the anchor when <a= is used.
BeccaPrice is offline   Reply With Quote