HTML href property
Example
An image map with clickable areas:
usemap="#planetmap">
Try it »
Browser support





All major browsers support the href property.
Definition and Usage
The href property specifies the target of the link in the area.
If the href property is not used, the tag is not a link.
Differences between HTML 4.01 and HTML5
In HTML5, the tag no longer uses the href property; use placeholder to specify the link.
Syntax
Attribute values
| Value | Description |
|---|---|
| URL |
The URL of the link. Possible values: |
HTML tag