Reputation: 375
This is all the code I'm using:
<body>
<svg width="1000" height="400">
<rect rx="4" ry="4" width="20" height="240" style="fill:rgb(217,228,235);" >
<title>SVG Title Demo example</title>
</rect>
</svg>
</body>
Here it is in JSFiddle
I've just been following loads of suggestions online. Nest the title
element inside the rect
element.
But it doesn't seem to work.
Any idea why?
PS. Let me know if the JSFiddle works. It could be an issue with my browser. (using chrome v44)
Upvotes: 1
Views: 1444