I am new to Web Hosting. I want to be able to have someone click on a link on one page and land on a section on a different page, but I cannot figure out how to point to anything more specific than a page. Is there a way to insert tags or bookmarks or something to the different sections of that page and then link to the tag/bookmark?
Solved! Go to Solution.
Yes, if you add an id to the section it can be linked directly.
<h2 id="supercoolsection">Super cool section</h2>
It can be linked on the same page.
<a href="#supercoolsection">Skip the boring stuff.</a>
From a different page
<a href="coolpage.html#supercoolsection">Skip the boring stuff.</a>
Or from a completely different site
<a href="http://www.coolexample.com/coolpage.html#supercoolsection">Skip the boring stuff.</a>
Yes, if you add an id to the section it can be linked directly.
<h2 id="supercoolsection">Super cool section</h2>
It can be linked on the same page.
<a href="#supercoolsection">Skip the boring stuff.</a>
From a different page
<a href="coolpage.html#supercoolsection">Skip the boring stuff.</a>
Or from a completely different site
<a href="http://www.coolexample.com/coolpage.html#supercoolsection">Skip the boring stuff.</a>