access

Purpose

Binds a numeric access key to an a element.

Contained by

Attributes

Attribute Description Type Default Options Use
key The unique key value xs:integer none    required 
targetid The identifier of the target element xs:ID none    required 

Attribute groups

Example

<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/2002/06/xhtml2">
  <head>
    <title>access</title>
    <access key="1" targetid="berlin"/>
    <access key="2" targetid="budapest"/>
    <access key="3" targetid="cracow"/>
  </head>
  <body>
    <ul>
      <li><a href="http://www.berlin.de" id="berlin">Berlin</a></li>
      <li><a href="http://www.budapest.hu" id="budapest">Budapest</a></li>
      <li><a href="http://www.krakow.pl" id="cracow">Cracow</a></li>
    </ul>
  </body>
</html>

Related topics