<legend> Legend

A list or table of the explanations for symbols, characters, terms, or abbreviations, where each entry in the list names a symbol (or similar) and provides a gloss for that symbol. Such lists act as a key to the symbology of a graphic, figure, or table.

Usage/Remarks

Legends typically accompany figures or tables to act as a key to the symbols, characters, or abbreviations used in the graphic, figure, table, etc. Such lists may show a heading such as “Key” (“Légende” in French, “Legende” in German). Legends may also be called “where lists”, “keys”, “variable lists”, “legends”, “symbol charts”, etc., with the exact list heading given as the <title> of the <legend> element.
Attributes

Base Attributes

Models and Context
May be contained in
Description
Content Model
<!ELEMENT  legend       %legend-model;                               >
Expanded Content Model
(label?, title?, (def-list | list | array | table-wrap |
p)*)
Tagged Samples
Legend for a figure using <def-list>
...
<fig id="fig_A.1" orientation="portrait">
<caption><title>Build Parameters</title></caption>
<legend>
 <title>Key</title>
 <def-list>
  <def-item><term>I</term>
    <def><p>Input</p></def>
  </def-item>
  <def-item><term>O</term>
    <def><p>Output</p></def>
  </def-item>
  ...
 </def-list>
</legend>
<graphic xlink:href="1234"/>
</fig>
...
Legend for a table
...
<table-wrap id="tbl-1" position="anchor">
 <caption>
  <title>Transyltucky 2023 Basketball Schedule</title>
 </caption>
 <legend>
  <title>Terms Key</title>
   <def-list>
    <title>Location</title>
    <def-item><term>A</term>
     <def><p>Away Game</p></def></def-item>
    <def-item><term>H</term>
     <def><p>Home Game</p></def></def-item>
    <def-item><term>TBA</term>
     <def><p>To Be Announced</p></def></def-item>
   </def-list>

   <def-list>
    <title>Type</title>
    <def-item><term>C</term>
     <def><p>Conference Game</p></def></def-item>
    <def-item><term>EXH</term>
     <def><p>Exhibition Game</p></def></def-item>
    <def-item><term>NC</term>
     <def><p>Non-conference Game</p></def></def-item>
   </def-list>
 </legend>
 <table>
  <tr>
   <th>Date</th>
   <th>Opponent</th>
   <th>Location</th>
   <th>Type</th>
  </tr>

  <tr>
   <td>Nov. 7</td>
   <td>St. Osmond</td>
   <td>A</td>
   <td>EXH</td>
  </tr>

  <tr>
   <td>Nov. 11</td>
   <td>John Adams</td>
   <td>H</td>
   <td>C</td>
  </tr>

  <tr>
   <td>Nov. 14</td>
   <td>Bell State</td>
   <td>H</td>
   <td>C</td>
  </tr>

  <tr>
   <td>Nov. 18</td>
   <td>Copeland</td>
   <td>A</td>
   <td>NC</td>
  </tr>

  <tr>
   <td>Dec. 2</td>
   <td>BMU-East Stoddard</td>
   <td>TBA</td>
   <td>C</td>
  </tr>

  ...
 </table>
</table-wrap>
...
Related Resources