Home > Web Front-end > HTML Tutorial > Summary of standard usage of html comments

Summary of standard usage of html comments

王林
Release: 2020-03-24 18:00:16
forward
3648 people have browsed it

Summary of standard usage of html comments

html Notes:

<!--注释内容-->
Copy after login

Location used:

(Video tutorial recommendation: html video tutorial)

1. Generally used after the end of some major node labels, such as:

<div class="wrap">
<div class="main">
...
</div><!--main end-->
<div><!--wrap end-->
Copy after login

2. Used after the end of some loops, such as:

<ul class="list">
    <li>111111</li>
    <li>222222</li>
    <li>333333</li>
</ul><!--list loop-->
Copy after login

This Everything is to make the program more convenient and clear when nested.

Recommended tutorial: html tutorial

The above is the detailed content of Summary of standard usage of html comments. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:jb51.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template