How to remove underline from a name on hover

try this:

legend.green-color a:hover{
    text-decoration: none;
}

Remove the text decoration for the anchor tag

<a name="Section 1" style="text-decoration : none">Section</a>

You can use CSS under legend.green-color a:hover to do it.

legend.green-color a:hover {
    color:green;
    text-decoration:none;
}