Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试显示一个 SVG,单击该 SVG 会链接到另一个页面。这是我尝试过的:
<a href="foo.html"> <embed src="something.svg" /> </a>
这样做的首选方法是什么?
不要使用嵌入标签。而是使用<img>标签,锚应该可以正常工作。
<img>