Create a Comment : document « Javascript Objects « JavaScript DHTML
- JavaScript DHTML
- Javascript Objects
- document
Create a Comment
<html>
<body>
Body content.
<script language="JavaScript">
document.createComment("This is the comment text");
</script>
</body>
</html>
Related examples in the same category