Linking to a Specific Location in a Web Page


When coming up with an internet page, again and again you will need to make a link from one section of an internet page to a different. this is not a customary link we're bearing on, however a link that truly takes you to a different section at intervals a similar website. for instance, perhaps you've got data at the highest of your website and would love to link to additional data at rock bottom of your website. This html code can enable you to try to to simply that.



You can create a link within the same web page. The example link below is linked to a word at the bottom of this page.
Step #1

Select the realm of text that you simply need the link to require you to when clicked on. within the on top of example, the text we tend to linked to below is HTML, that is found at intervals the "Submit your HTML code snippets" sentence below.

Once you choose the word that you simply would love to link to, you may ought to produce an anchor link like this:

<A NAME="Text">Text</A>


The texts indicated in daring are going to be the text you choose, that in our example on this page was HTML. though you'll be able to modification the text indicated in red to no matter you need, it is a bit easier to recollect if you simply use a similar text a what you've got selected your anchor text to be. So again, within the on top of example, we tend to used HTML. After we created our anchor, it appeared like this: Submit your HTML code snippets.
Step #2

Your final step is going to be to make your actual link that when click on can take you to your anchor text:

<A HREF="#Text">Click Here</A>


In the example on top of, we tend to selected HTML for our anchor text and therefore the 'Example Link' text on top of was used to make the link. When clicked on, the page can jump to the HTML anchor text we tend to selected below.

When you produce your link, you want to use a similar name at intervals your link as you employed in your anchor. In our example, we tend to used HTML at intervals our anchor tag and HTML at intervals our actual link. After we created our link, it appeared like this: Example Link
 



Partner site : online news

0 comments: