Description
Defines a hyperlink, which is used to link from one page to another.
Example
Tips
-
Without specifying a target attribute, the link will open in the
same tab.
Attributes
| Global Attributes |
✓
|
| Event Attributes |
✓
|
Attribute Reference
| Attribute |
Description |
| href |
Specifies the URL of the page the link goes to. |
| target |
Specifies where to open the linked document. Can be _blank,
_parent, _self, or _top
|
| download |
Specifies that the linked document should be downloaded instead
of displayed in the browser.
|
| rel |
Specifies the relationship between the current document and the
linked document.
|