Re: SVG in HTML is not rendered
mouezapeter <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.svg |
|---|---|
| Organization | http://groups.google.com |
| Message-ID | <e5e43af2-8bc1-49a1-90cb-f25c1491e651@m44g2000hsc.googlegroups.com> |
On 19 août, 14:09, Martin Honnen <[email protected]> wrote: > codedread wrote: > > On Aug 19, 6:01 am, Martin Honnen <[email protected]> wrote: > > >> If you want to embed SVG in a HTML document then you need to author > >> XHTML and you need to serve the document with an XML MIME type e.g. > >> application/xml. > > > I thought the preferred MIME type for XHTML was application/xhtml+xml? > > For pure XHTML, yes, but a mixture of XHTML and SVG can certainly be > served as application/xml. application/xhtml+xml should work too. > > -- > > Martin Honnen > http://JavaScript.FAQTs.com/ Include an empty .htaccess file in the server's repository