Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/85.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html 如何使href在图标中工作_Html_Href - Fatal编程技术网

Html 如何使href在图标中工作

Html 如何使href在图标中工作,html,href,Html,Href,嗨,我对link有问题。。我需要用href包装放大镜图标,并在单击放大镜图标时激活新选项卡中的链接。 谢谢你的建议 <div class="folio-thumb"><img src="<?php echo get_template_directory_uri(); ?>/img/plochyostravamin.jpg" alt="image" /><a href="http://www.plochyostrava.cz" target="_bl

嗨,我对link有问题。。我需要用href包装放大镜图标,并在单击放大镜图标时激活新选项卡中的链接。
谢谢你的建议

   <div class="folio-thumb"><img src="<?php echo get_template_directory_uri(); ?>/img/plochyostravamin.jpg" alt="image" /><a href="http://www.plochyostrava.cz" target="_blank">**<div class="icon-zoom"></div></a></div>
/img/plochostravamin.jpg“alt=”image“/>

移动开口
标签,使其包围图像

 <div class="folio-thumb"><a href="http://www.plochyostrava.cz" target="_blank"><img src="<?php echo get_template_directory_uri(); ?>/img/plochyostravamin.jpg" alt="image" /><div class="icon-zoom"></div></a></div>

你的“问题”是什么?什么不起作用?当我点击图标时,什么都没有发生,但我不知道为什么