Home >Web Front-end >HTML Tutorial >[Help] When launching Wangwang, the web page is closed. How to solve it? _html/css_WEB-ITnose

[Help] When launching Wangwang, the web page is closed. How to solve it? _html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:23:451107browse

html map

The following code will still close the web page, please give me some advice, thank you!
<img border="0" src="http://xxxx.jpg" usemap="#mymap" /><map name="mymap"><area coords="516,2551,613,2575" target="_blank" href="http://www.taobao.com/webww/ww.php?ver=3&touid=%E6%B5%8B%E8%AF%95&siteid=cntaobao&s=1&charset=utf-8" shape="rect" /></map>


Reply to discussion (solution)

This is an open link
written as
6ae1a0c5b830a02eec94a3c61955c517open5db79b134e9f6b82c0b36e0489ee08ed Same






coords The coordinate value is too large. So there is no response when clicking. Try turning it down a little.

  <img border="0" src="http://www.baidu.com/img/bdlogo.gif" usemap="#mymap" /><map name="mymap"> <area shape="circle" coords="180,139,14" href ="http://www.baidu.com" target="_blank" alt="Venus" />  <area shape="circle" coords="129,161,10" href ="http://www.baidu.com" target="_blank" alt="Mercury" />  <area shape="rect" coords="0,0,110,260" href ="http://www.baidu.com" target="_blank" alt="Sun" /></map>

I tried this. no problem.

coords coordinate value is too large. So there is no response when clicking. Try turning it down a little.

  <img border="0" src="http://www.baidu.com/img/bdlogo.gif" usemap="#mymap" /><map name="mymap"> <area shape="circle" coords="180,139,14" href ="http://www.baidu.com" target="_blank" alt="Venus" />  <area shape="circle" coords="129,161,10" href ="http://www.baidu.com" target="_blank" alt="Mercury" />  <area shape="rect" coords="0,0,110,260" href ="http://www.baidu.com" target="_blank" alt="Sun" /></map>

I tried this. no problem.

My picture is quite big, it has nothing to do with the size of the picture. I tried it, Wangwang can be launched, but the webpage is closed after being launched. When I test it in Dreamweaver, it will not work

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn