<style type="text/css">
a.q1 {
display: block;
height: 24px;
margin: 0;
text-align: center;
text-decoration: none;
color: yellow;
}
a.q1:hover {
background-color:red;
color: #fff;
}
</style>
<h3 style="padding: 0; margin: 10px; background-color: #71030e;">
<a href="" class="q1">ghbvth</a></h3>