HTML rel="license"

A rel="license" attribute value specifies that the linked page contains licensing information for the current page.

Multiple licensing information can be added to the page.



A rel="license" on an <a> element.
A licensing link on a page that explains an accounting software product.

Our Accounting Products fall under the Apache 2.0 License
Our Accounting Products fall under the
<a rel="license" target="_blank"
   href="" >Apache 2.0 License</a>

Using rel="license"

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

A rel="license" value indicates that the linked page contains license info for the current page.

A page can have multiple license links to the same or different license pages.


<tagname rel="license" />

Elements that accept rel="license"

These elements accept the license 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:

6.0 Sep 2010
4.0 Mar 2011
12.0 Jul 2015
11.1 Mar 2011
5.0 Jun 2010

You may also like

Last updated on Sep 30, 2023