Your browser does not support JavaScript!'

HTML Area Tag && It's Attributes and Usage ~ VUSs

Welcome to VUSs, as you guys know. VUSs is all about Computer Science's fundamentals and Tests Preparation.
All published articles are organized in simple, easy, and short English sentences to familiarize the students with computer science.
In that respect today's article is HTML Area Tag && It's Attributes and Usage


Today's Topic
HTML Area Tag && It's Attributes and Usage


HTML Area Tag


<!-- Write your comments here -->
HTML

Area tag in html

HTML Area Tag is used to specify an Area inside an Image map this area is a clickable portion of the Map. AreaTag always used inside of map.

Area Attributes

An Attributes defines the characteristics of an HTML element. Some most useable "Attributes" of "Area Tag" are cited below.

Attribute Value & Description
alt text Alt attribute is used to specify an alternative text for a specified area in a selected section. It's only required when you're using href attribute in it. read more about "A" tag its attribute and Href Links #_Here
coords coordinates Coordinates can be used to specifies the coordinates of the area tag
download downloaded file's URL Specifies that the target will be downloaded when a user clicks on the hyperlink It will convert the simple href link into a html download link. Read more about Download Attribute at #_Download Attribute
href URL href attribute contains hyperlink for the area here is a the syntax of HTML hyperlinks #_Hyperlink Syntax
hreflang language_code Specifies the language of the target URL
media media query Specifies what media/device the target URL is optimized for
referrerpolicy no-referrer
no-referrer-when-downgrade
origin
origin-when-cross-origin
same-origin
strict-origin-when-cross-origin
unsafe-url
Specifies which referrer information to send with the link
rel alternate
REL is a short form of relation it is used to specifies a relationship between different web pages
shape default
rect
circle
poly
Specifies the shape of the area
target _blank
_parent
_self
_top
Complete information about the Attribute is Here framename
Specifies where to open the target URL
type media_type Specifies the media type of the target URL

Area Tag "onblur event"

The actual purpose of the "onblur attribute" is to indicate that the user has lost focus OR the mouse cursor is not hover at that time.

HTML Tags

Post a Comment

0 Comments

^