Thomas Thomas - 1 year ago 74
HTML Question

How to link to a <div> on another page?

I'd like that a specific link goes to a certain header on another page. I know how to do it on the current page.

kfb kfb

Take a look at anchor tags. You can create an anchor with

<div id="anchor-name">Heading Text</a>

and refer to it later with

<a href="http://server/page.html#anchor-name">Link text</a>