Computer Studies

Write short notes on Anchor Tag

HTML Advanced Features

20 Likes

Answer

A hyperlink has an anchor that is located within the document. Through the anchor, the hyperlink can be followed.

We use <a> and </a> tags to produce hyperlinks. The <a> tag defines a hyperlink that is used to link one page to another and </a> indicates the end of link. The most important attribute of <a> element is the href attribute that indicates the destination of link.

Example:

<a href = "mywebpage.html"> Click here to open My Web Page </a>

Answered By

9 Likes


Related Questions