Komen Tutorial Asas CSS

Komen CSS

Ulasan CSS: /*Kandungan ulasan CSS*/

Pengetahuan berkaitan

Ulasan HTML: <!—Ulasan HTML-->

Contoh

<!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>


Meneruskan pembelajaran
||
<!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>
  • Cadangan kursus
  • Muat turun perisian kursus