Dofactory.com
Dofactory.com
Earn income with your HTML skills
Sign up and we'll send you the best freelance opportunities straight to your inbox.
We're building the largest freelancing marketplace for people like you.
By adding your name & email you agree to our terms, privacy and cookie policies.

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.

Example

#

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="http://www.apache.org/licenses/LICENSE-2.0" >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.


Syntax

<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:

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


Last updated on Sep 30, 2023

Earn income with your HTML skills
Sign up and we'll send you the best freelance opportunities straight to your inbox.
We're building the largest freelancing marketplace for people like you.
By adding your name & email you agree to our terms, privacy and cookie policies.

Guides