If you want to link to different sections in your HTML webpage, or point to different headers in a HTML document, here is how you can do it.
We can access the section directly by using below URL:
http://www.websitename.com#OldPapers
Even we can add link to sections by providing ID attribute with a tag.
<h3 id="HeadingSection">Heading Section</h3>
We can access the section directly by using below URL:
http://www.websitename.com#HeadingSection
Here is an example. All bank Exam Blog
All bank Exam Blog Old Papers Section
The Code for second one is <a href="http://allbankexam.blogspot.com/#OldPapers">All bank Exam Blog Old Papers Section</a>
Read more at http://www.w3.org/TR/html401/struct/links.html
How to add a link to a section in an HTML page:
<a name="OldPapers">Old Papers Section</a>We can access the section directly by using below URL:
http://www.websitename.com#OldPapers
Even we can add link to sections by providing ID attribute with a tag.
<h3 id="HeadingSection">Heading Section</h3>
We can access the section directly by using below URL:
http://www.websitename.com#HeadingSection
Here is an example. All bank Exam Blog
All bank Exam Blog Old Papers Section
The Code for second one is <a href="http://allbankexam.blogspot.com/#OldPapers">All bank Exam Blog Old Papers Section</a>
Read more at http://www.w3.org/TR/html401/struct/links.html
No comments:
Post a Comment
Please give your feedback, questions and suggestions. I will surely answer you.