Sunday, November 21, 2010

Html...???

how can I add links to certain parts of a picture?Html...???
Use an HTML ';usemap';.



%26lt; USEMAP %26gt; indicates that the image is an image map and uses the map definition named by the attribute. The name of the map is set by the NAME attribute of the %26lt;MAP %26gt; tag.



Usemap requires that you preced the name of the map with the hash ';#'; symbol. For example, the following code creases an image map named ';map1';.





Mapname can be placed in code anywhere on your page.



%26lt;MAPNAME=';map1';%26gt;

%26lt;AREA

HREF=';enter.html';

ALT=';Enter';

SHAPE=RECT COORDS=';6,116,97,184';%26gt;

%26lt;AREA

HREF=';leave.html'; ALT=';Leave';

SHAPE=CIRCLE COORDS=';251,143,47';%26gt;

%26lt;/MAP%26gt;



Enter the image as you normally would.

%26lt;IMG SRC=';entrance.gif';

ALT=';Click Enter to Enter site.'; BORDER=0 WIDTH=300 HEIGHT=300

USEMAP=';#map1';%26gt;



Follow it up with text links so that non-image browsers and web spiders can visit your subpages.

%26lt;BR%26gt;

[ %26lt;A HREF=';enter.html'; ALT=';Enter';%26gt;Enter%26lt;/A%26gt; ]

[ %26lt;A HREF=';leave.html'; ALT=';Leave';%26gt;Leave%26lt;/A%26gt; ]Html...???
http://www.european.ee

Report Abuse


Use Image maps.



Heres a good interactive tutorial on how to do it:

http://www.kasparius.com/tutorials/imagemap/index.htm
you'll have to use whats called an ';image map';

areas of your picture can be ';zoned'; to redirect your visitors to other areas of your site

check around the net, theres lots of simple to use freeware apps that will help you out
What you are looking for is an IMAGE MAP, where one single image can contain different links depending on what part of the image visitor click. There is a small tutorial here: http://www.kasparius.com/tutorials/imagemap/index.htm



Depending on your HTML editor, most probably it has a built-in way to do it without the need to type-in code.



Good luck!
idont know alot in html but i know the order to put color is

%26lt;body bg color=';the color name';%26gt;

and put pic is

%26lt;body backgraund=';the pic name';%26gt;but this pic should be in My Document and write ( .jpg - .jpeg )

and you can search for html in google or good site

No comments:

Post a Comment