zoukankan      html  css  js  c++  java
  • css 使用一

    <!doctype html>
    <html lang="en">
    <head>
        <meta charset="utf-8">
        <title>开始学习CSS</title>
        <!--
        <link rel="stylesheet" href="/static/css/test1.css">
        -->
        <style type="text/css">
            body {
        font-family: Georgia, Serif;
    }
    h1 {
        color: hotpink;
        border-bottom-color: purple ;
        border-bottom-width: 10px;
        border-bottom-style: dotted ;
    }
    h2 {
        font-style: italic;
        color: #4cae4c;
    }
    .job-title {
        font-style: italic;
        font-weight: bold;
    }
    #eeeeee {
        border:5px #2e6da4 solid;
        background-color: pink;
        padding: 20px ;
    }
    a:link {
        color: #2a2a2a;
    }
    a:visited {
        color: red;
    }
    a:hover {
        color: aqua;
    }
        </style>
    </head>
    
    <body>
    <h1>Jane Doe</h1>
    <div class="job-title">Web Developer</div>
    <p>Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove right at the coast of the Semantics, a large language ocean.</p>
    
    <p>A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences fly into your mouth. </p>
    
    <h2>Contact information</h2>
    <ul id="eeeeee">
        <li>Email: <a href="mailto:jane@example.com">jane@example.com</a></li>
        <li>Web: <a href="http://example.com">http://example.com</a></li>
        <li>Tel: 123 45678</li>
    </ul>
    
    </body>
    
    </html>
  • 相关阅读:
    PHP header函数设置http报文头示例详解
    在Windows下为PHP安装redis扩展
    CMD模拟http请求
    strstr使用
    memset使用
    QT修改应用程序图标
    纪念下自学QT 第十天 终于写成了串口调试助手
    QT设置textEdit光标到末尾
    QT设置TextEdit颜色
    QT设置QToolBar带有图标和文字
  • 原文地址:https://www.cnblogs.com/zy09/p/13884904.html
Copyright © 2011-2022 走看看