Example:
HTML
<!DOCTYPE html>
<html>
<body>
<h1>The area media attribute</h1>
<p>Click on the sun to watch it closer:</p>
<img src="https://horje.com/avatar.png" width="145" height="126" alt="Planets" usemap="#planetmap">
<map name="planetmap">
<area shape="rect" coords="0,0,82,126" alt="Sun" href="sun.htm" media="screen and (min-color-index:256)">
</map>
</body>
</html>
How to add A link with a media attribute | HTML Attribute |
How to add An image map, with a clickable area | HTML Attribute |
How to add Two different style sheets for two different media types (screen and print) | HTML Attribute |
How to Use of the media attribute | HTML Attribute |
How to add Specify the style to use for print | HTML Attribute |
Type: | Html |
Category: | Web Tutorial |
Sub Category: | HTML Attribute |
Uploaded by: | Admin |