'createComment()' Syntax, Parameters and Note : createComment « Javascript Methods « JavaScript Reference

'createComment()' Syntax, Parameters and Note

Note:

This method creates a <comment> element.
    
Syntax:
    
document.createComment(param1)


Parameters:
    param1   Required; the text of the comment.

    

      
      








Related examples in the same category

1.'createComment()' Example
2.'createComment()' is applied to