HTML basic tutorial notes

When writing something, commenting is a very good habit, which can make it easier for yourself and others to quickly understand what you are writing now, and to facilitate maintenance

Comment statement:

<!--This is a comment-->

Example:

<!DOCTYPE HTML>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <title>这是我们的第一个页面</title>
    </head>
    <body>
        <h1>欢迎加入php.cn</h1>
        <h2>希望你能够在这里学的开心</h2>
        <!--这是一段注释,注意观察,它是不会在页面上显示出来的-->
    </body>
</html>


Continuing Learning
||
1
2
3
4
5
6
7
8
9
10
11
12
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title></title>
</head>
<body>
<h1>php.cn</h1>
<h2></h2>
<!---->
</body>
</html>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
submitReset Code
图片放大关闭