What is href tag in HTML? with example

 What is href tag in HTML? 


Href is attribute in HTML and is used for For <a> and <area> elements, the href attribute specifies the URL of the page the link goes to.


For <base> elements, the href attribute 

specifies the base URL for all relative URLs on a page.


For <link> elements, the href attribute specifies the location (URL) of the external resource (most often a style sheet file)



Example of href in HTML


<a href =" ">

Comments

Last 7 Days

Difference between Public vs Internal vs Private state variables in solidity programming langauge with example ?

How to add Amazon website inside iframe?

What is a < code > tag?

How to use loop attribute with < video > tag in HTML for YouTube ? with example

How to use sandbox attribute value ( allow-scripts ) with < iframe > tag in HTML ? with example

free source code for website

What does P mean in HTML?

How to use sandbox attribute value ( allow-top-navigation) with < iframe > tag in HTML ? with example

How to use comments in Solidity programming language ?