js 动态创建注释节点 createComment
生活随笔
收集整理的這篇文章主要介紹了
js 动态创建注释节点 createComment
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
const comment = document.createComment('注釋')
document.body.appen(commnet)
總結
以上是生活随笔為你收集整理的js 动态创建注释节点 createComment的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: python读取csv画图datetim
- 下一篇: java not a jpeg file