zoukankan      html  css  js  c++  java
  • CSS样式语法

    css样式:由选择符和声明构成
    选择符:即包裹着需要修饰的内容的标签,如包裹小猿圈的span
    声明:即属性名和属性值,如color是属性名,red是属性值

    <!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>css</title>
        <style type="text/css">
            /*
                css样式:由选择符和声明构成
                    选择符:即包裹着需要修饰的内容的标签,如包裹小猿圈的span
                    声明:即属性名和属性值,如color是属性名,red是属性值
             */
            span{
                font-size: 30px;
                color: red;
                font-weight:bold;
            }
        </style>
    </head>
    <body>
        <p>
            <span>小猿圈</span>
            帮助1000w人
            <span>高效学编程</span>
        </p>
    </body>
    </html>
  • 相关阅读:
    练习三
    练习四
    练习二
    软件生命周期
    练习一 第六题
    练习一 第五题
    练习一 第四题
    练习一 第三题
    练习一 第二题
    AngularJs模块
  • 原文地址:https://www.cnblogs.com/nanjo4373977/p/12395162.html
Copyright © 2011-2022 走看看