# name attribute

Type: | string
Inherited: | no
Used By: | barcode, bookmark, datacurve, gdata, input, link, meta, simplecurve
Default: | none
See: | name2 value

The meaning of this attribute depends on it's context.
In meta elements, it's the name of the meta option to set.
In input elements, it's the name of the form field. This is a mandatory field
In link elements, it's the name to give to the linked resource.
In gdata elements, it's the name to give the specified value in the key.
In simplecurve and datacurve elements, it's the name to give the specified curve in the key
In bookmark elements, it's the name of the bookmark as it's displayed in the document

As used in the META element

    <meta name="author" value="Jim Jones"/>

As used in the INPUT element

    <input type="button" name="button1" value="Submit"/>

As used in the LINK element

    <link type="font" subtype="TrueType" name="myfont" src="myfont.ttf"/>

As used in the GDATA element

    <piegraph width="100" height="100">
      <gdata name="apples" value="20"/>
      <gdata name="oranges" value="15"/>
    </piegraph>

As used in the DATACURVE and SIMPLECURVE elements

    <linegraph width="100" height="100">
      <datacurve name="measurements">
        <sample x="10" y="10"/>
        <sample x="14" y="12"/>
        <sample x="19" y="14"/>
      </datacurve>
      <simplecurve name="predicted" method="Math.log"/>
    </linegraph>

As used in the BOOKMARK element

    <bookmark name="Chapter 1" href="#chapter1"/>