1. Underline
<ul style=" list-style-type:none; margin:0;color:Gray; font-size:11px;margin-top:30px"> <li style=" float:left; position:relative; margin-left:380px; "><a href="#">关于我们</a></li> <li style=" float:left; position:relative; margin-left:20px"><a href="#">关于我们</a></li> <li style=" float:left; position:relative; margin-left:20px"><a href="#">联系我们</a></li> <li style=" float:left; position:relative; margin-left:20px"><a href="#">人才招聘</a></li> <li style=" float:left; position:relative; margin-left:20px"><a href="#">商家入驻</a></li> <li style=" float:left; position:relative; margin-left:20px"><a href="#">友情链接</a></li> <li style=" float:left; position:relative; margin-left:20px"><a href="#">冬冬购物社区</a></li> </ul>
a
{
text-decoration: none;
}
a:hover
{
text-decoration: underline;
color:Red;
}
2.’s target attribute has four special values:
3. href attribute of :