Advertiment

Creating Image Maps with HTML

Image or in other words an image map is an image that can be clicked in the area sometimes people call it a "hotspot" which usually linkkan to another page. If used by an already understand, map images can be really effective. If used by a not yet understood, the map image can be potentially confusing. So how do I create an image map? For the map image :
you must do the following:
  • First, you need a picture. Create a picture using the typical (ie through an image editor, and then save it as a gif or jpeg images to a folder of your website). 
  • Use HTML tags <map> to create maps with the name. Inside this tag, you will determine which areas can be clicked with HTML tags <area>. 
  • Use HTML tags <img> to link to this image. In the img tag, use the attribute usemap to decide which folder to use (which we just defined).
Script :
<img src ="/pix/mueller_hut/mueller_hut_t.jpg" width="225" height="151" border="0" alt="Mueller Hut, Mount Cook, and I" usemap ="#muellermap" />

<map id ="muellermap"name="muellermap">  <area shape ="rect" coords ="90,80,120,151"  href ="javascript:alert('Me');" target="_blank" alt="Me" />  <area shape ="poly" coords ="55,55,120,80,90,80,90,100,70,100,20,80,55,55"  href ="http://en.wikipedia.org/wiki/Mount_Cook" target="_blank" alt="Mount Cook" />  <area shape ="poly" coords ="145,80,145,100,215,90,215,80,180,60,145,80" href ="http://www.natural-environment.com/places/mueller_hut.php" target="_blank" alt="Mueller Hut" /> </map>

In our example, we use the <area> tag in conjunction with the shape and coord attributes. These accept the following attributes:

shape : Defines a shape for the clickable area. Possible values:
  • default
  • rect
  • circle
  • poly
coords : Specifies the coordinates of the clickable area. Coordinates are specified as follows:
  • rect: left, top, right, bottom
  • circle: center-x, center-y, radius
  • poly: x1, y1, x2, y2, ...
So little do I create Image Maps with HTML code may be useful. For those still confused can refer to: http://www.quackit.com/html/tutorial/html_image_maps.cfm. (source). thank you. 

World Wide Web Consortium

Hypertext Markup Language is a standard language used to display the web document, you can do with HTML that is:
  1. Control the display of web pages and contentnya. 
  2. Publish documents online so they can be accessed from all over the world. 
  3. Create an online form that can be used to handle the registration, online transactions.      
  4. Adding objects such as images, audio, video and also the java applet in an HTML document.
Style Sheets is a very important feature in making Dynamic HTML. Although not a necessity in making the web, but the use of style sheets is an advantage. A style sheet is a place where you control and manage-style style. Style sheets describe how an HTML document on-screen display. You can also call it as a template of the HTML documents that use it. You also can create special effects on your pages that use style sheets. Theoretically you can use style sheets with HTML technology. However, in practice only a Cascading Style Sheet (CSS) technology that supports the almost all web browsers. Because CSS has been in setandartkan by the World Wide Web Consortium (W3C) for use in a web browser. This tutorial will explain about the html and CSS.