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.3499910bf9dac5ae3c52d5ede7383485’s target attribute has four special values:
target='_blank' The browser always opens a new web page target='_self' It causes the target document to be loaded and displayed in the same frame or window target='_parent' This target causes the document to be loaded into the parent window or frameset containing the frame referenced by the hyperlink. If this reference is in a window or in a top-level frame, then it is equivalent to target_self target='_parent' If there are multiple parent frames, directly remove all parent frames and refresh the page 3. href attribute of 3499910bf9dac5ae3c52d5ede7383485:
Absolute URL - pointing to another site (such as href="http://www.example.com/index.htm") Relative URL - points to a file within the site (href="index.htm") Anchor URL - points to an anchor within the page (href="#top"
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn