score:42

Accepted answer

svg elements do not have a title attribute. to get the effect of an html title attribute you need to add a child title element e.g.

    <svg viewbox="0 0 50 50">
        <rect class="hmcell" x="0" y="0" width="34" height="11" style="fill: #9fee49; ">
            <title>v1: derek</title>
        </rect>
    </svg>


Related Query

More Query from same tag