to process the incoming request based on the passed coordinates. When ismap is used, the href attribute of the containing tag must contain the URL of a server application like a cgi or PHP script etc. The server uses the mouse-pointer coordinates to determine which document to deliver back to the browser. Here you simply put your image inside a hyper link and use ismap attribute which makes it special image and when the user clicks some place within the image, the browser passes the coordinates of the mouse pointer along with the URL specified in the tag to the web server. Server-side image maps − This is enabled by the ismap attribute of the tag and requires access to a server and related image-map processing applications.Ĭlient-side image maps − This is created with the usemap attribute of the tag, along with corresponding and tags. There are two ways to create image maps − Such mouse-sensitive images are known as image maps. Once different links are attached to different coordinates, we can click different parts of the image to open target documents. You can create different links on the single image based on different coordinates available on the image. The HTML and XHTML standards provides a feature that lets you embed many different links inside a single image. Next we will see how we can create Mouse-Sensitive Image Links. This was the simplest way of creating hyperlinks using images. This will produce the following result, where you can click on the images to reach to the home page of Tutorials Point.
0 Comments
Leave a Reply. |