# bookmark element

Type: | Heading Tags
Attributes: | expanded • href • name
See: | a bookmarklist

The bookmark tag may be used in the head of the document inside a bookmarklist, to create the "outline" or "bookmarks" structure used in PDF documents.
Each bookmark must have the name attribute set, which is displayed in the bookmark tree, and optionally may have an href specified which is the action to perform when the bookmark is clicked on. It may also contain other nested bookmarks.

    <head>
    <bookmarklist>
      <bookmark name="Chapter 1" href="#Chapter1"/>
      <bookmark name="Chapter 2" href="#Chapter2"/>
      <bookmark name="Chapter 3" href="#Chapter3">
        <bookmark name="Table 1 in Chapter 3" href="#Table31"/>
     </bookmark>
    </bookmarklist>
    </head>