[whatwg] How to use SVG in HTML5?

Forgive me if this is a simple and obvious question. I note that all
current browsers (except IE, of course) implement SVG rendering (to a
better or worse degree). I'd like to be able to drop SVG images into
an HTML page as easily as I can a JPEG or PNG. I read over the
recently-released HTML5 draft and couldn't work out how I'd do this.

What would the HTML to do this look like? What's the equivalent of
<IMG SRC="foo.jpg"> for foo.svg?


- d.

Received on Wednesday, 23 January 2008 05:42:52 UTC