Home Resources Forum Advertise Contact

Go Back   Webmaster Forums > Web Designing and Development > Web Resource Centre

Web Resource Centre The web is full of FREE resources in various forms. It could be a software, a service, a consultation, etc etc. But how would you know which ones are good and which ones to stay away from? Well, dear webmasters, share your recommendations and critics about the web's FREE resources here!

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 13th December 2006, 08:29 PM
hassen1 hassen1 is offline
WD Addict Poster
 
Join Date: 29th October 2006
Posts: 2,603
Send a message via Yahoo to hassen1
Default How do i link to a location in the middle of an html documen

First, label the destination of the link. The old way to label the destination of the link was with an anchor using the NAME attribute. For example:
<h2><a name="section2">Section 2: Beyond Introductions</a></h2>

The modern way to label the destination of the link is with an ID attribute. For example:
<h2 id="section2">Section 2: Beyond Introductions</h2>

Second, link to the labeled destination. The URL is the URL of the document, with "#" and the value of the NAME or ID attribute appended. Continuing the above examples, elsewhere in the same document you could use:
go to Section 2

Similarly, in another document you could use:
go to Section 2 of my thesis
Reply With Quote
Reply



Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Best one way link method is to link only to web directories b4uindiacom Link Development 4 26th February 2007 10:56 PM
What is everyone using to write html? hassen1 Web Resource Centre 0 11th December 2006 09:38 PM
What are sgml and html? hassen1 Web Resource Centre 0 10th December 2006 10:48 PM
Keep your html concise hassen1 Web Design and Development 0 25th November 2006 07:53 PM
Html validator arpan911 Web Design and Development 0 15th September 2006 09:28 PM


All times are GMT -4. The time now is 11:19 PM.


Powered by vBulletin
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC6
vB Ad Management by =RedTyger=