zoukankan      html  css  js  c++  java
  • 改变HTML中超链接的显示样式


    更详细的内容请参考:http://www.w3school.com.cn/tags/tag_a.asp

    HTML中的代码如下:

    <a class="news_title" target="_blank"></a>

    可以通过以下方式来改变其默认的显示样式:

    .news_title {
            font: normal 18px/28px "Microsoft YaHei";
            font-size: 15px;
            font-weight: bold;
    }


    /*改变超链接的默认状态*/
    a.news_title:link {color: #000000; text-decoration: none}
    a.news_title:visited {color: #aa0000; text-decoration: none}
    a.news_title:hover {color: #000000; text-decoration: none}

  • 相关阅读:
    mybatis-generator.xml
    模板下载
    任务导出
    订单导出
    创建指定日期任务
    字符串的知识
    数组元素反转
    JVM 中知识
    Redis介绍
    JsonP
  • 原文地址:https://www.cnblogs.com/eaglegeek/p/4557850.html
Copyright © 2011-2022 走看看