Things You'll Need:
- HTML or text file editor
-
Step 1
Begin by opening your HTML editing software program and placing your cursor at the exact location where you want to define the anchor on your web page.
-
Step 2
Type the following:
Click here to visit my website -
Step 3
Replace the material between quotes with the URL of the web page you want to link to.
-
Step 4
Change the "Click here to visit my website" line with the text that you want to appear marked as a hyperlink. In most cases, the hyperlink will be blue and underlined.
-
Step 5
Leave the tag the way it is if you want the hyperlinked document to appear in the same window. However, should you want it to appear in a new window, add a target attribute so that the final result would look like this:
Click here to visit my website








Comments
teniente said
on 3/12/2008 This is what I want to do.
I know about how anchors go from page to page. I, also, know how anchors go to certain sections in the same page.
But what I want to know is how a link will go to another page and to a named anchor in that page. In other words I don't want it to open up to the top of the page but in the middle where I have an anchor at.
Can you tell how to do that?