Home > Article > Web Front-end > Summary of standard usage of html comments
html Notes:
<!--注释内容-->
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-->
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-->
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!