Dom 简明教程
DOM - Comment Object
在本章中,我们将学习 Comment 对象。注释作为注释或行添加,用于理解 XML 代码的目的。注释可用于包含相关链接、信息和术语。它们可能出现在 XML 代码的任何位置。
In this chapter, we will study about the Comment object. Comments are added as a notes or the lines for understanding the purpose of an XML code. Comments can be used to include related links, information and terms. These may appear anywhere in the XML code.
注释接口继承表示注释内容的 CharacterData 接口。
The comment interface inherits the CharacterData interface representing the content of the comment.