Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Design and Architecture
  4. What is an image map?

What is an image map?

Scheduled Pinned Locked Moved Design and Architecture
question
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Shraddha_Patel
    wrote on last edited by
    #1

    What is an image map?

    L M 3 Replies Last reply
    0
    • S Shraddha_Patel

      What is an image map?

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      It is a map of an image.

      1 Reply Last reply
      0
      • S Shraddha_Patel

        What is an image map?

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        Wikipedia[^] states:

        In HTML and XHTML, an image map is a list of coordinates relating to a specific image, created in order to hyperlink areas of the image to different destinations (as opposed to a normal image link, in which the entire area of the image links to a single destination). For example, a map of the world may have each country hyperlinked to further information about that country. The intention of an image map is to provide an easy way of linking various parts of an image without dividing the image into separate image files.

        Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

        1 Reply Last reply
        0
        • S Shraddha_Patel

          What is an image map?

          M Offline
          M Offline
          Member_14688479
          wrote on last edited by
          #4

          Image Maps
          The tag defines an image-map. An image-map is an image with clickable areas.

          How Does it Work?
          The idea behind an image map is that you should be able to perform different actions depending on where in the image you click. To create an image map you need an image, and a map containing some rules that describe the clickable areas.

          The Image
          The image is inserted using the tag. The only difference from other images is that you must add a usemap attribute:

          Workplace

          The usemap value starts with a hash tag # followed by the name of the image map, and is used to create a relationship between the image and the image map.

          The Map
          Then add a element.

          The element is used to create an image map, and is linked to the image by using the name attribute:

          The name attribute must have the same value as the usemap attribute.

          The Areas
          Then add the clickable areas.

          A clickable area is defined using an element.

          Shape
          You must define the shape of the area, and you can choose one of these values:

          rect - defines a rectangular region
          circle - defines a circular region
          poly - defines a polygonal region
          default - defines the entire region

          Hope it helps you upvote if you like!

          T
          H
          A
          N
          K
          Y
          O
          U
          V

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups