0
0
yyogesh manthan
The <a href> attribute refers to a destination provided by a link. The a (anchor) tag is dead without the <href> attribute. Sometimes in your workflow, you donβt want a live link or you wonβt know the link destination yet. In this case, itβs useful to set the href attribute to "#" to create a dead link. The hrefattribute can be used to link to local files or files on the internet.
<html>
<head>
<title>Href Attribute Example</title>
</head>
<body>
<h1>Href Attribute Example</h1>
<p>
<a href="https://www.freecodecamp.org/contribute/">The freeCodeCamp Contribution Page</a> shows you how and where you can contribute to freeCodeCamp's community and growth.
</p>
</body>
</html>