HTML-Lesson 24

Other tags--kbd to map, area

The kbd tag

The kbd tag is used to indicate a key on the keyboard: E.G.

Press the <kbd>Ctrl </kbd> key.
Gives:
Press the Ctrl key.

The 'map' and 'area' tags

The 'map' tag is used to provide a graphical menu of links. Areas on an illustration are used as links. These areas can be shaped as a rectangle, a circle or a polygon. in the example below the selectable areas are outlined in yellow.

<img src=" gra/assmap2.gif " width=" 612 " height=" 394 " alt=" Map of Assynt showing the main archeological sites " usemap=" assynt " />
<map name="
assynt " id=" assynt ">
<area shape="rect" coords="
535,327,605,349 " href=" ../bones.htm " alt=" press back-arrow to return
" />
<area shape="circle" coords="
43,179,21 " href=" ../broch.htm " alt=" press back-arrow to return " />
<area shape="rect" coords="
414,234,504,252 " href=" ../ardvrek.htm " alt=" press back-arrow to return " />
<area shape="poly" coords="
530,263,569,237,605,261,590,297,553,297 " href=" ../calda.htm " alt=" press back-arrow to return " />
<area shape="circle" coords="
84,217,13 " href=" ../mills.htm " alt=" press back-arrow to return " />
</map>

gives:

Map of Assynt showing the main archeological sites  press back-arrow to return
 press back-arrow to return  press back-arrow to return  press back-arrow to return  press back-arrow to return
Use the back arrow to return to this Lesson.
Previous Lesson previous lesson next lesson Next Lesson