Link text Edit

Highlight: Write detailed and expressive link text that provides context.

Write detailed and expressive link text that describes where the reader will be guided to, and what the reader will see after following the link. Links, by themselves, should be coherent without the surrounding text.
Links can be of two forms:

  • The exact text of the title, heading, or subheading you’re linking to. For more information about capitalizing such references, see Capitalization in references to titles and headings.
  • A description of the linked document or page, with standard text capitalization.

For more information about link text, see Cross-references.

  • You can rewrite or rephrase a sentence to include a phrase to get well-articulated and clear link text.
  • Don’t use a URL as link text. Instead, use the page title or a description of the page.
  • Don’t use the phrase click here or this document. It impedes scannability and accessibility.
  • Don’t force links to open in a new tab or window. Let the reader decide how to open links. If the link needs to open in a new tab or window, notify the reader that the link will open in a new tab or window. For more information, see Links to pages on a different domain or server.
  • Use an external link icon to indicate that the link goes to a different domain or server. For more information, see Links to pages on a different domain or server.
  • If the link downloads a file, explicitly mention it, and the type of file being downloaded.
  • If you’re referencing a link with an abbreviation, include both the spelled-out term or phrase and the abbreviation in the link text. For example, link to WordPress Command Line Interface (WP-CLI), not WordPress Command Line Interface (WP-CLI).

Examples

Not Recommended (HTMLHTML HTML is an acronym for Hyper Text Markup Language. It is a markup language that is used in the development of web pages and websites.): Click <a href="">here</a>.

Not Recommended (HTMLHTML HTML is an acronym for Hyper Text Markup Language. It is a markup language that is used in the development of web pages and websites.): Want more? Go to <a href="">this page!</a>.

Recommended (HTMLHTML HTML is an acronym for Hyper Text Markup Language. It is a markup language that is used in the development of web pages and websites.): For more information, see <a href="">Word choice</a>.

Not Recommended (Markdown): Click [here]().

Not Recommended (Markdown): Want more? Go to [this page!]().

Recommended (Markdown): For more information, see [Word choice]().

Not Recommended (HTMLHTML HTML is an acronym for Hyper Text Markup Language. It is a markup language that is used in the development of web pages and websites.): See trademark policy at <a href="https://wordpressfoundation.org/trademark-policy/">https://wordpressfoundation.org/trademark-policy/</a>.

Recommended (HTMLHTML HTML is an acronym for Hyper Text Markup Language. It is a markup language that is used in the development of web pages and websites.): For more information about WordPress trademarks, see the <a href="https://wordpressfoundation.org/trademark-policy/">Trademark Policy for WordPress</a>.

Not Recommended (Markdown): See trademark policy at [https://wordpressfoundation.org/trademark-policy/](https://wordpressfoundation.org/trademark-policy/).

Recommended (Markdown): For additional information about WordPress trademarks, see the [Trademark Policy for WordPress](https://wordpressfoundation.org/trademark-policy/).

Top ↑

If you have punctuation immediately before or after a link, insert the punctuation outside the link tags where possible. For example, don’t include sentence ending punctuation such as a period inside link text.

Examples

Not Recommended (HTMLHTML HTML is an acronym for Hyper Text Markup Language. It is a markup language that is used in the development of web pages and websites.): For the latest release announcements, see <a href="https://wordpress.org/news/">News and Announcements.</a>

Recommended (HTMLHTML HTML is an acronym for Hyper Text Markup Language. It is a markup language that is used in the development of web pages and websites.): For the latest release announcements, see <a href="https://wordpress.org/news/">News and Announcements</a>.

Not Recommended (Markdown): For the latest release announcements, see [News and Announcements.](https://wordpress.org/news/)

Recommended (Markdown): For the latest release announcements, see [News and Announcements](https://wordpress.org/news/).

Last updated: