Skip to content
Browse files

svg in html

  • Loading branch information...
1 parent e1c0fb4 commit bcb1e45d900c12da41f9061e5900eeafc4e1344d @Kwpolska Kwpolska committed Mar 21, 2011
Showing with 5 additions and 1 deletion.
  1. +5 −1 index.html
View
6 index.html
@@ -1164,9 +1164,13 @@ <h1 id="intervention"><b>W3Schools</b> An Intervention</h1>
<a href="http://www.w3schools.com/svg/svg_inhtml.asp" rel="nofollow" class="w3s-link">www.w3schools.com/svg/svg_inhtml.asp</a>.
<blockquote>The <code>&lt;embed></code> tag is not listed in any HTML specification.</blockquote>
<p>
- <code>&lt;embed></code> is a valid HTML5 tag. This page also doesn’t mention SVG in HTML5, which
+ <code>&lt;embed></code> is a valid HTML5 tag. This page also doesn’t mention SVG in HTML5 and XHTML, which
would be nice.
</p>
+
+ <blockquote>It would be great if we could add SVG elements directly into the HTML code, only by referring to the SVG namespace, like this:</blockquote>
+ <p>
+ You can add SVG to XHTML (at least while served with the <code>application/xhtml+xml</code> mimetype) thanks to the <code>&lt;svg&gt;</code> tag.
</li>
<li id="svg_examples">

0 comments on commit bcb1e45

Please sign in to comment.
Something went wrong with that request. Please try again.