This is excellent. You can target specific sections of other pages by adding the
#name
bit on to the end of the href
. The part after the hash mark is known as a “fragment identifier.” For instance, to link to the first section of this tutorial from somewhere else, you would write<a href="http://www.yourhtmlsource.com/
text/internallinks.html#section-names">
Of course, the sections you can link to are restricted by which sections actually exist on the page you’re linking to. View the HTML source code (go to View > Source) of a page you want to link to and see if they have any sections named.
0 comments:
Post a Comment