<a>
tag:href
attribute specifies the destination address (https://www.w3schools.com/html/) of the link.target
attribute specifies where to open the linked document.target
attribute can have one of the following values:_blank
- Opens the linked document in a new window or tab_self
- Opens the linked document in the same window/tab as it was clicked (this is default)_parent
- Opens the linked document in the parent frame_top
- Opens the linked document in the full body of the windowtarget='_top'
to break out of the frame:border:0;
is added to prevent IE9 (and earlier) from displaying a border around the image (when the image is a link).title
attribute specifies extra information about an element. The information is most often shown as a tooltip text when the mouse moves over the element.id
attribute:<a>
element to define a linkhref
attribute to define the link addresstarget
attribute to define where to open the linked document<img>
element (inside <a>) to use an image as a linkid
attribute (id='value') to define bookmarks in a pagehref
attribute (href='#value') to link to the bookmarkTag | Description |
---|---|
<a> | Defines a hyperlink |