Easy Tutorial
❮ Prop Pushbutton Disabled Jsref Regexp Global ❯

Area href Attribute


Definition and Usage

The href attribute sets or returns the value of the href attribute of an area.

The href attribute specifies the target link for an area.

Syntax


Browser Support

All major browsers support the href attribute.


Example

The following example returns the href attribute of the "Venus" area in an image map:

The output of the above example is:

href attribute value of Venus: http://www.tutorialpro.org/try/demo_source/venus.htm

❮ Prop Pushbutton Disabled Jsref Regexp Global ❯