Met document createcomment:修订历史

本页内容

差异选择:选中要对比的版本的单选按钮,按Enter键或下方的按钮。
说明:(当前)=与最后版本之间的差异,(之前)=与上一版本之间的差异,=小编辑。

    2022年8月19日 (星期五)

    • 当前之前 11:202022年8月19日 (五) 11:20Neo 讨论 贡献 1,606字节 +1,606 创建页面,内容为“{{DISPLAYTITLE:document.createComment()}}10 = HTML DOM createComment() 方法 = Document 对象 可创建注释节点, 并插入HTML文档: <sample title="" desc="" lang="html" hererun="1"> var c=document.createComment("My personal comments"); document.body.appendChild(c); </sample> 输出结果: <sample title="" desc="" lang="html" hererun="1"> <!--My personal comments--> </sample> <run name=""…”