Logo
  Sunday, May 20, 2012
Sign-In  |  Sign-Up  |  Contact Us  | Bookmark |  RSS Feed

HTML5 Tutorial FeedBurner

The HTML5 <link> Tag  
There are some occasions when it is necessary for the author of the HTML document to establish a connection between the web page and another document. During such instances, the HTML5 <link> tag is used. That way, when users access the web page, they can easily go to the other document which is directly connected to the current document.

The main difference in use of HTML5 <link> tag is that the HTML4.01 attributes are totally not supported by HTML5 anymore. Plus, HTML5 added the size attribute.

There should be no worries when using the HTML5 <link> tag. It is possible to pair it up with the Events Attributes and Global Attributes in HMTL5. Aside from that, all major web browsers support this tag like Internet Explorer, Google Chrome, Firefox, Safari and Opera.

The attributes for HTML5 <link> tag are these:

Attribute

Value

Description

charset

char_encoding

This is no longer supported and utilized in HTML5

href

URL

It is important in giving the specific location of the other document that is linked

hreflang

language_code

It is the key in determining the type of language of the text that is used in the linked document

media

media_query

Determines the kind of device on which the document that is linked can be viewed

rel

alternate
archives
author
bookmark
external
first
help
icon
last
licence
next
nofollow
noreferrer
pingback
prefetch
prev
search
sidebar
stylesheet
tag
up

This is required because it establishes the connection between the current document and the document that is linked

rev

reversed relationship

This is no longer supported and utilized in HTML5

sizes (New)

HeightxWidth
any

It is the key in determining the size of the other resource that is connected to the HTML document but this is only applicable for rel="icon"

target

_blank
_self
_top
_parent
frame_name

This is no longer supported and utilized in HTML5

type

MIME_type

It is used in determining the MIME type of the document that is linked

Print HTML5 <link> Tag Bookmark HTML5 <link> Tag

Related Articles  
The HTML5 <img> Tag
It is typical for an HTML page to contain images too aside from plain texts. When it is necessary to add photos and ...
The HTML5 <abbr> Tag
The main purpose of the HTML5 <abbr> Tag is to indicate that the text is an abbreviation or an acronym.
The HTML5 <footer> Tag
The HTML5 <footer> tag is necessary for adding a footer for a particular document which serves as supplementary ...
The HTML5 <object> Tag
The HTML5 <object> tag is the key which enables HTML authors to do this. When embedding video, audio, PDF, Flash ...
The HTML5 <dfn> Tag
The HTML5 <dfn> tag is useful when it is necessary for the author to provide a definition of a term.
The HTML5 <ul> Tag
The HTML5 <ul> tag is applied for an unordered or bulleted list. The use of the HTML5 <ul> tag has to be ...
More