Links to Bookmark Sections of Another Page.

  • Links to named sections of other documents:

If you know another page has a named section already defined, you can link to it my appending the  named section to the url of the page.  For example, my page that demonstrates basic html tags is long and I have placed bookmark anchors at each section.  To link directly to that section of the page named comment, you would  use the url:

  http://packard.flint.umich.edu/~hickslm/263/L2TagDemo.htm#comment

Used as a hyperlink here:  Take me to the comments section of Linda's BasicTag Demo page.

These examples have all been to my pages, but if you know of a named section in an external document, you can use that in your hyperlink,   as illustrated below. 

How do you find out the names of bookmarked sections within external documents?   Ususally when a page has named sections, there will be a list of hyperlinks at the top of the document.  Follow a hyperlink to the topic you are interested in, then look in your browsers location bar.  You should see a  # at the end of the url.  That is the named section's full url. Visit the HTML Goodies master page to test this out.  Follow the links under the title: Jump Right to a Topic

  • As noted above anchor tag names are case sensitive when when used to link to external pages as well as internal links.

           

Last updated on 01/28/2008  by L.M. Hicks