2
如何在html上放置svg元素(矩形,圆等)。这是我的编码。任何人都可以帮忙将SVG元素放在img标记上
<div id="myImgId" style="width: 200px; height: 200px; background:#000;" onmousedown="doSomething()" onmouseup="return false;">
<img src="Chrysanthemum.jpg" width="200" height="200" />
<svg id="svgOne" y="200" width="200" height="200"></svg>
</div>