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

HTML5 Tutorial FeedBurner

The HTML5 <area> Tag  
The HTML5 <area> tag is used for adding details to specific areas within an image map. An image map is an image with different regions that can be clicked if seen on the browser.

The HTML5 <area> tag is supported by all major browsers like Internet Explorer, Google Chrome, Firefox, Safari and Opera.

Slight differences can be observed when <area> tag is used for HTML5 and HTML 4.01. It is because, HTML5 has incorporated new attributes which cancels out the other attributes that are used for HTML4.01. The attributes for HTML5 <area> tag is enumerated below. The new attributes that are used is HTML5 are also specified.

Attribute

Value

Description

alt

text

Specifies an alternate text for the area. Required if the href attribute is present

coords

coordinates

Specifies the coordinates of the area

href

URL

Specifies the hyperlink target for the area

hreflang(NEW)

language_code

Specifies the language of the target URL

media(NEW)

media query

Specifies what media/device the target URL is optimized for

nohref

nohref

Not supported in HTML5

rel(NEW)

alternate
author
bookmark
help
license
next
nofollow
noreferrer
prefetch
prev
search
tag

Specifies the relationship between the current document and the target URL

shape

default
rect
circle
poly

Specifies the shape of the area

target

_blank
_parent
_self
_top
framename

Specifies where to open the target URL

type(NEW)

MIME_type

Specifies the MIME type of the target URL

The <area> tag is also capable of supporting the Global Attributes and Event Attributes in HTML5.

Print HTML5 <area> Tag Bookmark HTML5 <area> Tag

Related Articles  
The HTML5 <u> Tag
The HTML5 <u> tag is no longer functional in HTML5. Before, the purpose of using HTML <u> tag is to put an ...
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 <noscript> Tag
The HTML5 <noscript> tag is capable of handling all the content that has to be placed inside the body element of ...
The HTML5 <ol> Tag
The formal definition of the HTML5 <ol> tag is that it specifies an ordered list. This works with <li> tag ...
The HTML5 <frameset> Tag
The HTML <frameset> tag is no longer utilized for HTML5. Before, the use of HTML <frameset> tag is ...
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