Computer Science, asked by sahidlx9127, 2 months ago

what is the use of the href attribute of the <a>tag? give an example​

Answers

Answered by ItszBrainlyQueen
2

The HTML <a> href Attribute is used to specify the URL of the page that the link goes to. When the href attribute is not present in the <a> an element that it will not be a hyperlink. This attribute is used to specify a link to any address. This attribute is used along with <a> tag.

Answered by pranavsai73
1

Answer:

In html anchor tag is used for hyperlinks and we can also add some text there

Similar questions