Example of using access key with links

Thu Dec 08, 2011 10:23 pm

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>
 




  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)     -  
 list of links look like accordion using JQuery     -  
 Post offers not website links .     -  
 Code to open multiple links.     -  
 Working with menus, Label links and files in C#     -  
 Post offers not your websites links(rather , i will be spam)     -  
 passguide vcp-410 questions dumps download links     -  

Topic Tags

HTML Link