Content · Web Development · HTML

HTML prerender Rel Token: Reference and Examples

Learn what rel="prerender" means in HTML, when to use it and what browsers or search engines may do with it.

1 views Published Oct 19, 2026 Updated Oct 19, 2026 Admin

Links do more than move people between pages. The HTML rel attribute describes the relationship between your page and another resource. The value prerender means: historically suggested preparing a future page in advance.

What prerender means


Historically suggested preparing a future page in advance.

Write it as rel="prerender" on an appropriate <a> or <link> element. Not every relationship is defined for both: the correct element depends on the link type.

Example markup


<!-- Relationship: prerender -->
<link rel="prerender" href="next-page.html">

What the browser does


This example uses <link>, which normally belongs in the document head and describes a resource relationship without adding a visible clickable link.

Legacy hint with inconsistent support; consider modern Speculation Rules where appropriate.

Do not rely on this old hint for modern performance optimization; measure behavior under current browser support.

If the token is a resource-loading hint, it may improve a particular loading path, but the browser is free to make its own decision. Measure with the Network panel rather than adding hints to every resource.

When to choose this token


Use prerender only when the relationship is genuinely true for that destination. If it describes a web resource, make sure that resource exists and serves the right content. For an external URL, do not confuse a relationship hint with permission, security or a redirect.

Small practice task


Create a simple test page with the example. Inspect the resulting element in Developer Tools. Change the target to another sensible file or URL, then explain whether the visible page, a network request, or only the relationship metadata changed.

Common Beginner Mistakes


  • Legacy hint with inconsistent support; consider modern Speculation Rules where appropriate.
  • Assuming rel="prerender" has the same effect on every kind of HTML link.
  • Adding a relationship token when the destination does not have that relationship.

Key Takeaways


  • prerender means historically suggested preparing a future page in advance.
  • Legacy hint with inconsistent support; consider modern Speculation Rules where appropriate.
  • Choose a valid link element and test what the browser actually does.
Share this resourceSend this page to someone who may find it useful.