Total members 11889 |It is currently Thu Feb 22, 2024 4:18 pm Login / Join Codemiles

Java

C/C++

PHP

C#

HTML

CSS

ASP

Javascript

JQuery

AJAX

XSD

Python

Matlab

R Scripts

Weka





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>  
 




_________________
M. S. Rakha, Ph.D.
Queen's University
Canada


Author:
Mastermind
User avatar Posts: 2715
Have thanks: 74 time
Post new topic Reply to topic  [ 1 post ] 

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



Topic Tags

HTML Link
cron





Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com