Dofactory.com
Dofactory.com

HTML rel="help"

A rel="help" attribute value specifies that the linked page contains context-sensitive help for the current page.

The link can also be the help page for the parent element of the link.

Example

#

A rel="help" on an href element.
This link opens context sensitive help.

For assistance go to Help
For assistance go to 
<a rel="help" 
   href="javascript:alert('This is help for the rel=help attribute value.')">Help</a>

Using rel="help"

The rel attribute defines the relationship between the current page and the linked page.

The rel="help" value indicates that the link offers context-sensitive help for the current page.

It can also mean that the help is for the parent element of the link with rel="help".

When used on <a> or <area> tags, the mouse pointer becomes a 'help' pointer (hand or question mark).


Syntax

<tagname rel="help" />

Elements that accept rel="help"

These elements accept the help value on the rel attribute.

Elements Description
<a> Specifies an anchor link -- see example above
<area> Creates clickable areas inside an image map.
<form> Specifies an HTML form.
<link> Links a resource to the current page

Browser support

Here is when rel support started for each browser:

Chrome
6.0 Sep 2010
Firefox
4.0 Mar 2011
IE/Edge
12.0 Jul 2015
Opera
11.1 Mar 2011
Safari
5.0 Jun 2010

You may also like


Author: Jack Poorte
Published: Jun 20 2021
Last Reviewed: Sep 30 2023


What's your favorite/least favorite part of Dofactory?


Guides