HTML inside SVG

后端 未结 4 2000
梦如初夏
梦如初夏 2021-01-05 10:52

I would like to add some HTML markup in an SVG drawing.

As far as I know, this is not possible with SVG.

The image gets di

4条回答
  •  春和景丽
    2021-01-05 11:17

    Everything you have to do is give the svg position: absolute and then you can place markup on top of it. I don't know if there is any way to do it within the svg tag, if that was what you wanted.

提交回复
热议问题