What is use of the href attribute of the <a>tag?Give an example.
Answers
Answered by
3
Answer:
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.
For example, to create a table on a Web page, the <table> tag is used. The data that should be inside the table follows the <table> tag, and the table is closed with a </table> tag.
Similar questions
Math,
5 months ago
Science,
5 months ago
Physics,
5 months ago
Social Sciences,
10 months ago
Science,
10 months ago
Political Science,
1 year ago
Economy,
1 year ago