Switch to full style
HTML code examples
Post a reply

usage of id attribute for link jumps

Wed Feb 15, 2012 9:50 pm

Following example shows you how to use the ID attribute to jump for a defined parts in your html page.
Code:
<HTML>
<
head>
 <title>using id attribute for go up link</title>
</
head>
<
BODY>
<
div id="top">
<
p>In this html example we show you  how to use the id attribute along with link to
jump for a specific part in your html page
, this is done by adding the id value
in the href attribute of the link 
, try the link at the end of the 
page as test
. </p>
<
br><br><br><br><br><br><br><br><br><br><br><br><br><br>
<
br><br><br><br><br><br><br><br><br><br><br><br><br><br>
<
br><br><br><br><br><br><br><br><br><br><br><br><br><br>
</
div>
<
a href="#top">Go top</a>
</
BODY>
</
HTML>  
 




Post a reply
  Related Posts  to : usage of id attribute for link jumps
 Usage of the before CSS attribute     -  
 Usage of the after CSS attribute     -  
 usage of ch attribute     -  
 usage of rev attribute     -  
 vspace attribute usage     -  
 usage of <br> tag clear attribute     -  
 row-span attribute usage     -  
 colspan attribute usage     -  
 Usage of contenteditable attribute     -  
 SWAP images using JQuery just by using the src attribute img     -  

Topic Tags

HTML Link