Home >Web Front-end >HTML Tutorial >How to make the mouse turn into a hand shape when hovering over a label? _html/css_WEB-ITnose
The
a tag code is as follows:
<li><a id="display1" onClick="display1()">按图标显示</a></li><li><a id="display2" onClick="display2()">按详细列表显示</a></li>
a:link { text-decoration: none;}a:visited { text-decoration: none;}a:hover { color: #515151;}a:active { text-decoration: none;}
a {
cursor:pointer;
}
or e366576e1b927f831726552b9e2aa5c8
Add href attribute
a {
cursor:pointer;
}
or e366576e1b927f831726552b9e2aa5c8
a {
cursor:pointer;
}