zoukankan      html  css  js  c++  java
  • CSS-文本

    one.css

    h1,a{
        color: blue;
        front-size:1px;
    }
    
    body{
        color: coral;
    }
    
    p{
        color: chartreuse;
    /* 对齐方式 text-align: right; */
    /* 首行缩进 text-indent: 10px; */
    }

    one.html

    <!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>Title</title>
        <link href="one.css" type="text/css" rel="stylesheet">
    </head>
    <body>
        <h1>
            应用样式表
        </h1>
        <a>这是a标签</a>
        <h2>这是h3</h2>
        <p>Hello CSS!</p>
    </body>
    </html>

    显示:

  • 相关阅读:
    Python字符串
    ListCtrl控件
    leetcode1004
    leetcode1003
    leetcode1002
    leetcode153
    leetcode540
    leetcode435
    leetcode999
    leetcode997
  • 原文地址:https://www.cnblogs.com/OFSHK/p/12761659.html
Copyright © 2011-2022 走看看