我正在努力使我的矢量图像可以点击。我搜索了互联网,找不到答案。我还需要代码中的其他内容吗?
<div id="logo">
<a href="http://fpmnky.com" target="_self">
<span>
<object width="488" height="115" data="http://fpmnky.com/images/fpmlogo2.svg" type="image/svg+xml">
<img width="488" height="115" src="http://fpmnky.com/images/fpmlogo2.svg" alt="Star"/>
<span>Your browser doesn't support SVG images</span>
</object>
</span>
</a>
答案 0 :(得分:0)
<div id="logo">
<a href="http://fpmnky.com" target="_self">
<img src="http://fpmnky.com/images/fpmlogo2.svg" width="488" height="115" alt="fpmlogo" />
</a>