12 lines
573 B
Markdown
12 lines
573 B
Markdown
---
|
||
title: Challenge Dcommenter HTML
|
||
localeTitle: 挑战Dcommenter HTML
|
||
---
|
||
注释允许忽略代码。在HTML中,通过用`<!--`和`-->`括起要忽略的代码来进行注释。
|
||
`<! - Ce texte n'apparaîtra pas puisqu'il est un commentaire ->`
|
||
|
||
您可以通过删除评论项轻松取消注释HTML代码。
|
||
|
||
**_注意:_**取消注释HTML代码时要小心,并记住删除注释开头和结尾的元素!
|
||
|
||
**_注意:_**注释可以在其他编程语言(如JavaScript)中以不同方式进行,但删除表示注释的所有内容的一般概念也适用。 |