Open Source Tutorials - Open Source Training
Open source training & tutorials from experienced, passionate people
chrome icon firefox icon ie icon opera icon safari icon Sings in these Browsers
A- A A+

By A Web Design

Welcome, Guest
Username Password: Remember me

Links to sections on the same page in HTML
(1 viewing) (1) Guest
All your queries regarding HTML will be solved in this forum
  • Page:
  • 1
TOPIC:

Links to sections on the same page in HTML

Links to sections on the same page in HTML 1 year, 2 months ago #555

  • isaac
  • OFFLINE
  • Senior Boarder
  • Posts: 64
  • Karma: 0
How can i create links to sections on the same page in HTML?

Thanks..

Re: Links to sections on the same page in HTML 1 year, 2 months ago #556

  • palak
  • OFFLINE
  • Senior Boarder
  • Posts: 55
  • Karma: 0
To create links to a link within the page, 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.
  • Page:
  • 1
Time to create page: 1.14 seconds
OSV Newsletter


Receive HTML?

NOTE: To prevent subscription to the OSV newsletter, uncheck the checkbox above.
Guest Blog for OSV
Free Ebook Download