I am working to get the hang of using SVG inside HTML 5 documents. I am not having much success. I am hoping someone here can help.
I have a very simple test that is not working. I am not sure why.
Here is the markup I am using:
- Code: Select all
<!DOCTYPE html>
<html>
<body>
<h1>SVG/HTML 5 Example</h1>
<svg xmlns="http://www.w3.org/2000/svg" version="1.1">
<circle id="myCircle"
cx="100" cy="75" r="50"
fill="blue"
stroke="firebrick"
stroke-width="3" />
<text x="60" y="155">Hello World</text>
</svg>
</body>
</html>
It does nothing but show me the H1 anf the plain text "Hello World". There is no circle.
I have tried it on FF 2.0 Win2K and FF 3.5 Linux.
Any ideas? Other HTML 5 and SVG work on both of these browsers.
Thanks in advance!
Keith