Skip to main content
href

href

3 7.0
A piece of HTML that shows the web address a link goes to
  • noun
  • Texting
: href
  • Make sure the href attribute in your anchor tag is correct to avoid broken links.

Examples

  • When defining a link, the href attribute specifies where the link will direct users.

  • And the href linked to the file will be stylescss, which is the document we've just created.

  • The href in an a tag is a citation.

    Blog text (9)
  • To view the new tourism website, go to <a <b>href="visitpahrump.com">.

    Blog text (19)
  • You just need to add your link inside the href parameter and add the text before the closing a tag like this:

    Blog text (32)
  • As Gauvin points out, href is an attribute.

    Blog text (9)
  • To create a hyperlink in HTML, you need to include the href attribute that points to the URL.

Surface Forms

href singular
hrefs plural

Etymology

Href is short for hypertext and reference, which together mean a 'reference' or 'address' for a link. So an href simply tells the browser where the link will go.