• Skip to primary navigation
  • Skip to main content

Tech Honey

The #1 Website for Oracle PL/SQL, OA Framework and HTML

  • Home
  • HTML
    • Tags in HTML
    • HTML Attributes
  • OA Framework
    • Item in OAF
    • Regions in OAF
    • General OAF Topics
  • Oracle
    • statement
    • function
    • clause
    • plsql
    • sql
You are here: Home / HTML / Tags / Attributes / HTML Area Tag Type Attribute

HTML Area Tag Type Attribute

August 15, 2013 by techhoneyadmin

HTML Area Tag Type Attribute defines the MIME type of the linked resource or webpage.

HTML Area Tag Type Attribute is used only when the HTML href attribute is also used in the HTML area tag.


Syntax of using the HTML Area Tag Type Attribute

<area type="MIME_type">

The HTML Area Tag Type Attribute can have the following values:

HTML Area Type Attribute Value Description
MIME_type Defines the MIME type of the linked resource or webpage.

Please visit http://www.iana.org/assignments/media-types  to see complete list of standard MIME types.


Example of using HTML Area Tag Type Attribute

HTML Area type attribute code Output
Click on the shapes to watch them:
<img alt="Shapes" src=" HTMLAreaTagEx.gif" 
usemap="#shapemap" width="145" height="126" />
<map name="shapemap">
<area coords="25,30,12" shape="circle" href="Circle.jpg" 
target="_blank" type="image/gif" />
<area coords="62,30,82,40" shape="rect" href="triangle.jpg" 
target="_blank" type="image/gif" />
<area coords="115,35,10" shape="circle" href="star.jpg" 
target="_blank" type="image/gif" />
</map>
Click on the shapes to watch them:

Shapes

Here in the above HTML Area Type Attribute example, we are telling the browser that the linked resource or webpage is having image or gif type.


HTML Area Tag Type Attribute Supporting Browsers

S. No. Browser Supported(Yes/No)
1 Internet Explorer Yes
2 Firefox Yes
3 Google Chrome Yes
4 Opera Yes
5 Safari Yes

Filed Under: Attributes Tagged With: How to tell browser the type of linked resource, How to use the html Area type attribute, HTML area tag type attribute, Html Area type attribute syntax and example, HTMLAreaTagTypeAttribute, Using Area type attribute in HTML, What is Area type attribute in html

Copyright © 2023 · Parallax Pro on Genesis Framework · WordPress · Log in