Creating banners and site maps, novice webmasters are faced with such a problem as inserting a link into a picture, making the menu brighter and more interesting with its help. But how to do this? Nothing is easier if you know the HTML language.
Let’s find out how this idea can be realized. In our article, we will offer you two options for solving the problem. One is rarely used due to the fact that it takes a lot of time and effort, the second is considered generally known. We will analyze both methods.
Where is the picture link used?
Before talking about how to make a picture in a picture a link, we will figure out where and why they are used. After all, it will be easier to understand what we want from the image.
- , . "". , , ? , , . .
- -. . . , .
, HTML-, . , .
, , , ( , -, , ).
, , . , .
: <a href=" "></a> - . - .
, , . . , , . , ? .
-. .
, , , . , , . , , . . , , , . .
, , . , . .
.
, HTML. , .
, , , , , .
– , "" ( ).
, , . , .
, , . , . , , , , , .
, , , , . , . , .
, usemap="#map1, img. , , - usemap="# ".
, , <map> </map>, <body> </body>.
, , . , .
, -. HTML – . , .
<map>. name, usemap. , .
<map> - <area>, . , , .
– shape. - . :
- - circle;
- - rect;
- - poly;
- – default.
- coords. . - . - – - , .
href, .
, , – nohref. , .
, , - . , .
- , , . , , . . , .
, . , - -. "", , , .
. , , , . , , -, , , .