Mega Code Archive

 
Categories / JavaScript Reference / Javascript Methods
 

CreateComment() Syntax, Parameters and Note

Note: This method creates a <comment> element.      Syntax:      document.createComment(param1) Parameters:     param1   Required; the text of the comment.