Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:svg="http://www.w3.org/2000/svg">
- <head>
- <title>Beispiel-Datei mit mehreren Namensräumen</title>
- </head>
- <body>
- <h1>Eine Mathe-Formel:</h1>
- <math xmlns="http://www.w3.org/1998/Math/MathML">
- <mi>x</mi><mo>=</mo><mn>2</mn>
- </math>
- <p>Und noch ein kleines Bild dazu:</p>
- <svg:svg>
- <svg:rect x="0" y="0" width="10" height="10" />
- <svg:text>
- <svg:tspan>Eine Formel in der Grafik:</svg:tspan>
- <svg:tspan>
- <math xmlns="http://www.w3.org/1998/Math/MathML">
- <mi>y</mi><mo>=</mo><mn>1</mn>
- </math>
- </svg:tspan>
- </svg:text>
- </svg:svg>
- <p>Eine SVG Grafik kann auch ohne Präfix verwendet werden:</p>
- <svg xmlns="http://www.w3.org/2000/svg">
- <circle svg:cx="10" svg:cy="10" svg:r="5" svg:fill="red" />
- </svg>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement