The href attribute is used in the <a> (anchor) HTML element to specify the destination of the hyperlink. It defines the URL or location that the link points to, which can be an external web page, an internal page, an email address, a telephone number, or an anchor within the same page.
For example:
<a href="https://www.example.com">Visit Example Website</a>
In this example, clicking on the link will take the user to "https://www.example.com".
