Total members 11895 |It is currently Sun Dec 22, 2024 3:21 am Login / Join Codemiles

Java

C/C++

PHP

C#

HTML

CSS

ASP

Javascript

JQuery

AJAX

XSD

Python

Matlab

R Scripts

Weka





Example of using access key with links
Code:
<html>
<
head>
<
title>using access key with link a tag</title>
<
style type="text/css">

#siteTags ul li {
 
list-stylenone;
 
displayinline
 
margin1px
}

#siteTags ul li a {
 
padding3px 0.5em
 
margin-left3px
 
border2px solid #43EE32;
 
background#EEDD32;
 
text-decorationnone;
 
border-bottomnone;
}
#siteTags ul li a:link {
 
color#124332;
}

#siteTags ul li a:link:hover, #siteTags ul li a:visited:hover {
 
color#000;
 
background#CC32CC;
 
border-color#227;
}

.
accessKey {
 
text-decorationunderline;
}
#siteTags h1 {
 
 
color:#EE0043;
  
fontbold 30px Verdanasans-serif
 
}

#siteTags ul {
 
padding3px 0
 
margin-left0
 
border-bottom1px solid #778EEF; 
 
fontbold 12px Verdanasans-serif
}
</
style>
</
head>

<
body>

  <
div id="siteTags">
     <
h1>
    
Example of using access key with links press shift+alt+access key)
   </
h1>
   <
ul>
    <
li><a href="home/" accesskey="h"><span class="accessKey">H</span>ome</a></li>
    <
li><a href="sign-up/" accesskey="s"><span class="accessKey">S</span>ign-up</a></li
    <
li><a href="contact-us/" accesskey="c"><span class="accessKey">C</span>ontact us</a></li>
   </
ul>
  </
div>


  
</
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 : Example of using access key with links
 Links like yours?     -  
 Many links for the one image     -  
 links CSS properties     -  
 How to add links in header ? (mile100style)     -  
 Post offers not website links .     -  
 Code to open multiple links.     -  
 list of links look like accordion using JQuery     -  
 Post offers not a links to your website.(So it will be spam)     -  
 Working with menus, Label links and files in C#     -  
 Post offers not your websites links(rather , i will be spam)     -  



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