Can I embed HTML into an HTML5 SVG fragment?

Yes, with the <foreignObject> element, see this question for some examples.

Alternatively, if you have an html5 document you can also use CSS positioning and z-index to make parts of html visible where you want laid out on top of the svg. If you do it like that you don’t need to nest the html inside the svg fragment. This will give you the most consistent behaviour across browsers in my experience.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)