Link Relations in HTML 5

A link relation is relation between two files. HTML5 allows you to link your HTML file with another file. It provides two types of link relation,

  • Links with external resources
  • Links with different HTML documents.

Links with External resources and are created by using the LINK element in HEAD element, while the links with different HTML documents, also known as hyperlinks, are created by using the 'A' element. The link relation are implemented by using the rel attribute with the LINK element.

HTML5 document introduces some new values for this attribute such as:

rel-help and rel-licence, which link your HTML Document with a help document and a document having copyright information, respectively.
 

Ebook Download
View all
Learn
View all
Foreantech - A complete online solution company.