Embedding SVG into HTML


Plug-ins activate svg via the HTML object element

<object width="100%" height="100%" data="coord.svg" type="image/svg-xml">
</object>
<object width="400" height="300"  data="coord.svg" type="image/svg-xml">
</object>

This also allows negotiations:

<object width="400" height="300" data="coord.svg" type="image/svg-xml">
  <img src="coord.png" width="400" height="300"/>
</object>

If SVG cannot be interpreted, the PNG image will be displayed instead!