HTML <a> Tag with rel=bookmark

<a href="http://www.htmlcodes.ws" rel="bookmark">HTML codes</a>

How to Use the above Code

  1. Replace the value of the href attribute to be the URL of the document you're linking to.
  2. Replace the anchor text (HTML codes) with the text you want the user to see.

About the bookmark Value

The bookmark value of the rel attribute provides the permalink for the nearest ancestor section.

About the rel Attribute

The rel attribute describes the relationship between the current document and the destination URI. Only to be used when the href attribute is present. Multiple values can be provided, separated by a space.

Possible values:

ValueDescription
alternateGives alternate representations of the current document.
authorGives a link to the current document's author.
bookmarkProvides the permalink for the nearest ancestor section.
helpProvides a link to context-sensitive help.
licenseIndicates that the main content of the current document is covered by the copyright license described by the referenced document.
nextIndicates that the current document is a part of a series, and that the next document in the series is the referenced document.
nofollowIndicates that the current document's original author or publisher does not endorse the referenced document. This attribute is often used to declare paid links to search engines such as Google, who, request that webmasters declare all paid links (eg, advertising) in this manner.
noreferrerRequires that the user agent not send an HTTP Referer (sic) header if the user follows the hyperlink.
prefetchSpecifies that the target resource should be preemptively cached.
prevIndicates that the current document is a part of a series, and that the previous document in the series is the referenced document.
searchGives a link to a resource that can be used to search through the current document and its related pages.
tagGives a tag (identified by the given address) that applies to the current document.