Grow your CSS skills. Land your dream job.

How to draw shapes in HTML

  • # June 30, 2009 at 11:26 am

    Hi,

    I have noticed that in some pages people have put shapes around images to make them into a link. An example is:

    Quote:
    <area href="link" coords="Num,num,Num,num" shape="poly"/>

    But does anyone have a site that goes through this as I am not sure how it works. Also do any browsers read it differently such as IE?

    Thanks for your help

    # June 30, 2009 at 11:49 am

    I believe what you are referring are called image maps.

    # June 30, 2009 at 12:28 pm
    "bor003" wrote:
    Hi,

    I have noticed that in some pages people have put shapes around images to make them into a link. An example is:

    Quote:
    <area href="link" coords="Num,num,Num,num" shape="poly"/>

    But does anyone have a site that goes through this as I am not sure how it works. Also do any browsers read it differently such as IE?

    Thanks for your help

    here you go: http://www.w3schools.com/tags/tag_map.asp

    in fact w3schools is great to learn from, and to remind you fo certain things if need be

    # June 30, 2009 at 1:06 pm

    Thanks for all of your answers! You even replied very quickly!

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".