How to automatically add comments to the first line of HTML
P粉342138710
P粉342138710 2023-02-26 05:30:58
0
2
569

Similar to the picture, you cannot see the first line of comments when opening it with an editor. How is this generated?微信截图_20230226053006.jpg

P粉342138710
P粉342138710

reply all(1)
失忆孤独患者

You can create document fragments through js code

Create and generate comments

var name = document.createComment() //创建注释
var farme = document.createDocumentFragment('frame');//创建文档片段
farme .appendChild(name)

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template