The href Attribute — HTML
The <a> tag defines a hyperlink — a link to somewhere else on your site, or a link to somewhere else on the internet — that you place around certain text that you want to be the link text. This is done with the href attribute, which specifies the url that you are trying to link to.
<a href=“https://www.projeda.com/tech”>Learn modern science and technology on Projeda!</a>
Cite This Article
MLA
West, Brandon. "The href Attribute — HTML". Projeda, April 22, 2024, https://www.projeda.com/href-attribute-html-course/. Accessed May 3, 2025.
Projeda © 2025