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