The HTML comment element is use to add a comment to an HTML document. In HTML document comment elements use to disable code of a page, which you are testing but that is not ready yet. The HTML comment elements begin with .The HTML comment elements are not displayed in the web browser, its use to insert comment in the source code. Follow the HTML comments properly use in your HTML document. For example:123456789
Page content goes here…..
Using Comment TagHTML comment tag represents to insert comment in the source HTML code. The HTML comment tag supports few browsers and its start with
Commenting Script CodeYou must make a note that if you are using Java Script in your HTML code. You will give a comment in Java Script using HTML comment. It is recommended to put that script code inside proper HTML page comments.Example:123456789101112131415161718
Script Code comment
Commenting Style SheetsYou will learn Style Sheet with HTML for make page document another format and make some design. In HTML you must make a note that if you are using CSS in your HTML document. It is recommended to put that style sheet code inside proper HTML comments.Example:123456789101112131415161718