A user account is required in order to edit this wiki, but we've had to disable public user registrations due to spam.

To request an account, ask an autoconfirmed user on Chat (such as one of these permanent autoconfirmed members).

Diagrams in HTML: Difference between revisions

From WHATWG Wiki
Jump to navigation Jump to search
No edit summary
(add idea from Doug Schepers)
Line 4: Line 4:
  <p>Hello world. <svg viewbox="0 0 10 10"><circle x=5 y=5 r=5 stroke=green></svg> </p>
  <p>Hello world. <svg viewbox="0 0 10 10"><circle x=5 y=5 r=5 stroke=green></svg> </p>
</pre>
</pre>
<pre>
<p>Hello world. <ext><svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 10 10"><circle x="5" y="5 r="5" stroke="green"/></svg></ext> </p>
</pre>
(The <ext> element would have a name that doesn't clash with existing content. Inside you can use XML.)

Revision as of 03:04, 1 April 2008

Please put ideas for what it should look like here:

 <p>Hello world. <svg viewbox="0 0 10 10"><circle x=5 y=5 r=5 stroke=green></svg> </p>
 <p>Hello world. <ext><svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 10 10"><circle x="5" y="5 r="5" stroke="green"/></svg></ext> </p>

(The <ext> element would have a name that doesn't clash with existing content. Inside you can use XML.)