Computer Hope

Other Pages

Home
Site map
Computer help

Dictionary
News
Q&A
What's new

Tools

E-mail this page
Print Preview
Edit this page




Reference number: CH000049

How to create links to sections on the same page in HTML.

Issue:

How to create links to sections on the same page in HTML.

Solution:

To create links to a link within the page, currently two HTML tags need to be used.

<A HREF="#top">Top</a>

<A NAME="top">

The first tag <A HREF="#top">Top</a> is different in that it has a # which represents a name statement. When the user clicks on Top, the computer would then go to the name tag, if found.

The second tag <A NAME="top"> is where the first tag will reference when clicked.

Example:

When clicking on the link below, the user would be linked to the top of the page.

Top

 

 

 

Index

Category:
HTML Q&A

Companies:
None

Related Pages:
HTML Help

 

Resolved

Were you able to locate the answer to your questions?

 

Home - Computer help - Contact - Dictionary - Links
Link to Computer Hope - Bookmark Computer Hope