[whatwg] How to use SVG in HTML5?
David Gerard
dgerard at gmail.com
Wed Jan 23 05:42:52 PST 2008
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.
More information about the whatwg
mailing list