HTML CSS examples for HTML Tag:area
The type attribute specifies the Internet media type or MIME type of the target URL.
Value | Description |
---|---|
media_type | The Internet media type of the linked document. |
The type attribute specifies the media type of the target URL:
<!DOCTYPE html> <html> <body> <img src="https://www.java2s.com/style/demo/Opera.png" width="145" height="126" alt="message" usemap="#myMap"> <map name="myMap"> <area shape="rect" coords="0,0,80,100" alt="A" href="https://www.java2s.com/style/demo/Opera.png" type="image/gif"> </map><!--from ww w.j a v a 2 s .com--> </body> </html>