Hi,
is there a way to link a line in a static page, namely a title or subtitle, to the beginning of a paragraph or to another title located further down in the same page, a la Faq-style? And in a different page? Many thanks.
Hi,
is there a way to link a line in a static page, namely a title or subtitle, to the beginning of a paragraph or to another title located further down in the same page, a la Faq-style? And in a different page? Many thanks.
This page at w3schools has the solution. You use named anchors, like
<a name="gohere">Jump here</a>
and you link to that place in the page using
<a href="#gohere">Jump to Jump here</a>
or form another page using
<a href="otherpage.html#gohere">Jump to Jump here</a>
You need to learn about how to use the id attribute to provide an anchor (fragment identifier) within a document:
http://www.smart-it-consulting.com/article.htm?node=155&page=90#href-fragment-identifier
http://www.w3.org/TR/html4/struct/links.html#h-12.2.3
This topic has been closed to new replies.