Does HTML5 change the standard for HTML commenting?

后端 未结 2 562
不思量自难忘°
不思量自难忘° 2020-12-14 13:50

Recently I found that there is, possibly, a new way of commenting in HTML5.

Instead of the typical multi-line commenting I\'ve read about

2条回答
  •  無奈伤痛
    2020-12-14 14:19

    I don't think this is a good habit to take since stands for markup declarations like . Thus you think it's commented (well... browser will try to interpret it).

    Even if it doesn't appear, this seems not to be the correct syntax for commenting HTML code.

提交回复
热议问题