Skip to content

Glossary Link

What Is a Link?

Definition

A link, or hyperlink, is a reference on a page that takes you to another resource when clicked: another page, a file, an email address or a spot on the same page. In HTML it is created with the a tag and its href attribute.

On this page 5
  1. What link means
  2. How it works
  3. Why it matters
  4. Best practices
  5. Common mistakes
In brief

A link or hyperlink takes you from a page to another resource: how it is built, how search engines read it and what anchor text and rel tell them.

What link means

Link and hyperlink mean the same thing. MDN describes the a tag, also called the anchor element, as the element that, together with its href attribute, creates a hyperlink to web pages, files, email addresses, locations in the same page or anything else a URL can address.

A link has three parts that matter. The destination, the URL in href. The anchor text, the words you click on. And, optionally, the rel attribute, which describes the relationship with the destination, for example whether the link is paid or was added by a user.

Depending on where it points, people speak of an internal link, to another page on the same site; an external link, to another site; and a jump link, to a section of the same page. When another site links to yours, that link is a backlink, a topic with its own entry in this glossary.

How it works

The browser follows the link when someone clicks it. Crawlers follow it on their own, and that is how they discover new pages. Google explains that, generally, it can only crawl a link if it is an HTML a tag with an href attribute. A button that moves to another page through JavaScript, without an href, may work for a person and stay invisible to the crawler.

The anchor text tells the search engine what the destination page is about. Google recommends that it be descriptive, reasonably concise and relevant to the page it sits on, and it advises against generic text such as "click here".

The rel attribute qualifies the link. Google asks you to mark paid links with sponsored, links added by users, for example in comments or forums, with ugc, and cases where you would rather not associate your site with the linked page with nofollow. Links with these values are generally not followed, although the destination page may still be crawled if the search engine finds it another way.

A menu built from buttons without href can leave whole sections orphaned.

Why it matters

Links are the route search engines take across the web and the way a site shows which pages matter. Google puts it like this: every page you care about should have a link from at least one other page on your site. A page without internal links, an orphan page, depends on the search engine finding it through the sitemap.

External links count too. Linking to a reliable source helps readers check what you say, and Google advises using nofollow only when you do not trust the source, not on every external link. Links that other sites point at yours are covered in the entries on backlinks, link profiles and link building.

We measured this on this glossary's entry about HTML on 13 October 2026: it contains 143 links, of which 96 are in the navigation menu and 16 in the footer. The paragraphs of the text contain no links at all. The five related entries sit in a separate block, with the term's name and its short description as anchor text, and the three external sources at the end carry only the noopener security attribute, no nofollow.

Best practices

  • Build links as an a tag with an href and a real URL.
  • Use anchor text that describes the destination.
  • Link every important page from at least one other page on the site.
  • Add links within the text when they help the reader follow a topic.
  • Mark paid links with sponsored and user links with ugc.
  • Check regularly for broken links and links that go through redirects.

Common mistakes

  • Links that only work with JavaScript, with no href attribute.
  • Generic anchor text such as "here" or "read more".
  • Putting nofollow on every external link just in case.
  • Leaving important pages without a single internal link.
  • Linking to URLs that redirect or return an error instead of to the final URL.
Manuel Riveiro Rodriguez CEO & Digital Strategist

A technical audit covers this and everything else in one pass.

Request an audit

Frequently asked

Are link and hyperlink the same thing?

Yes. Both words refer to the reference that takes you from a page to another resource when clicked. In HTML it is created with the a tag and its href attribute. In SEO people almost always say link, while hyperlink appears more in technical texts and office software.

What is the difference between an internal and an external link?

An internal link points to another page on the same site and helps people and search engines move around it. An external link points to another domain, for example to a source. When the link goes from another site to yours, from your point of view it is a backlink.

What is anchor text?

It is the visible text you click on. Google recommends that it be descriptive, reasonably concise and relevant, because it helps explain what the destination page is about. "Running shoe size guide" tells both the reader and the search engine far more than "click here".

When should you use nofollow?

Google asks you to mark paid links with sponsored and user links, such as comments, with ugc. Nofollow is for cases where you would rather not associate your site with the linked page. You do not need it on every external link: Google advises it only when you do not trust the source.

Do links created with JavaScript count?

It depends on how they are built. Google says that, generally, it can only crawl a link if it is an a tag with an href attribute. A link generated with JavaScript that ends up as an a tag with an href can be followed; a button that changes the page through an event, without an href, probably cannot.

Sources

  1. MDN Web Docs, "a: HTML anchor element". Source for the definition of the a tag with its href attribute as a hyperlink.
  2. Google Search Central, "Link best practices for Google", last updated 10 December 2025. Source for crawlable links, anchor text, internal links and the use of nofollow on external links.
  3. Google Search Central, "Qualify your outbound links to Google", last updated 10 December 2025. Source for the sponsored, ugc and nofollow values and for such links generally not being followed.