"title" is a core SVG attribute, and to my knowledge every single SVG
element includes all core attributes,
so yes, title is available for all SVG elements.
> --
> You received this message because you are subscribed to the Google Groups "SVG Web" group.
> To post to this group, send email to svg...@googlegroups.com.
> To unsubscribe from this group, send email to svg-web+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/svg-web?hl=en.
>
>
--
Jamie Love
Looking for custom software development? Contact us at www.nsquaredsoftware.com.
<rect ...>
<title>
my tooltip
</title>
</rect>
user agents are free to show the title in whatever way they like.
Jamie
>
> But every SVG-Element is also an DOM-Element, so is it possible to
> define in a SVG-Element any attribute or the title attribute, even
> when it is not specified in SVG, for example in doing this:
> <rect id="rect1" title="my first rect!" x="" .../>
>
My understanding is that SVG can be considered "DOM-like" in web
browsers, but it isn't the same as the HTML DOM.
As SVG is just XML, it follows the same rules - that is you can add
whatever attributes you like, but it won't necessary validate when
passed through a XML validator.