Creates a comment object爓ith the specified data.
dhtml语法
ocomment = document.createcomment(sdata)
parameters
sData |
Required.
String that sets the comment object's data. |
return value
returns a reference to the new comment object.
是否符合公共标准
This method is defined in
World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 .
Applies To