HTML <a> Tag with rel=search
<a href="http://www.htmlcodes.ws" rel="search">HTML codes</a>
How to Use the above Code
- Replace the value of the
hrefattribute to be the URL of the document you're linking to.
- Replace the anchor text (
HTML codes) with the text you want the user to see.
search value of the
rel attribute gives a link to a resource that can be used to search through the current document and its related pages.
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.
|alternate||Gives alternate representations of the current document.|
|author||Gives a link to the current document's author.|
|bookmark||Provides the permalink for the nearest ancestor section.|
|help||Provides a link to context-sensitive help.|
|license||Indicates that the main content of the current document is covered by the copyright license described by the referenced document.|
|next||Indicates that the current document is a part of a series, and that the next document in the series is the referenced document.|
|nofollow||Indicates 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.|
|noreferrer||Requires that the user agent not send an HTTP
|prefetch||Specifies that the target resource should be preemptively cached.|
|prev||Indicates that the current document is a part of a series, and that the previous document in the series is the referenced document.|
|search||Gives a link to a resource that can be used to search through the current document and its related pages.|
|tag||Gives a tag (identified by the given address) that applies to the current document.|