Comments on CSS...LOGIN

Comments on CSS Basics Tutorial

CSS annotation

CSS annotation: /*CSS annotation content*/

Related knowledge

HTML comment: <!—HTML comment-->

Example

<!DOCTYPE HTML>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <title>php.cn</title>
    <style type="text/css">
        h1{
            color:red;/*文本颜色*/
            border:1px solid black;/*边框样式*/
            text-align:center;/*对齐方式*/
            background-color:#666666;/*背景色*/
        }
    </style>
    </head>
    <body>
        <!--这是注释字段-->
        <h1>欢迎加入php.cn</h1>
    </body>
</html>


Next Section
<!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>php.cn</title> <style type="text/css"> h1{ color:red;/*文本颜色*/ border:1px solid black;/*边框样式*/ text-align:center;/*对齐方式*/ background-color:#666666;/*背景色*/ } </style> </head> <body> <!--这是注释字段--> <h1>欢迎加入php.cn</h1> </body> </html>
submitReset Code
ChapterCourseware