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