Thomas Thomas - 6 months ago 14
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>