21 lines
1.0 KiB
XML
21 lines
1.0 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head><title>XHTML with embedded SVG</title></head>
|
|
<body>
|
|
<h1>XHTML with embedded SVG</h1>
|
|
<p>First, an external SVG image :</p>
|
|
<object type="image/svg+xml" data="image.svg" width="200px" height="300"/>
|
|
<p>Then, the same, but embedded in this page (does not work in Mozilla nor in Konqueror yet) :</p>
|
|
<svg xmlns="http://www.w3.org/2000/svg" style="width:200px; height:300px">
|
|
<text
|
|
style="font-size:12.000000;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;fill:#f7b4bb;fill-opacity:1.0000000;fill-rule:nonzero;stroke:#000000;stroke-width:0.27832034;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.0000000;stroke-opacity:1.0000000;font-family:Bitstream Vera Sans;text-anchor:middle;writing-mode:lr;"
|
|
x="4.7659397"
|
|
y="9.0498991"
|
|
transform="scale(17.40351,17.40351)"
|
|
sodipodi:linespacing="100%"><tspan
|
|
id="tspan943">?</tspan></text>
|
|
</svg>
|
|
<p>That's it.</p>
|
|
</body>
|
|
</html>
|