<!--...--> HTML Comment Tag
<!--...---> is a comment tag, which is used to give the comment in your HTML source code.
The HTML 'comments' tag is used for creating comments within your HTML code. Comments are not displayed in the browsers. we can use comments to explain our code. It is very useful when we open the code at some other day or date. To see the comment we easily understand whats the code of line means. The opening tag for comment is <!-- and closing tag is -->. Everything between these two tags can become comment.
<!--Hi! In this article I explain how we write the comment in HTML-->
Lets take a closer look of comment through the following example
<!--<b> tag is used to make the text bold.-->
<!--<i> tag is used to make the text italic-->
<!--<u>tag is used to make the text underline-->
Hello Hello Hello
Ask Your Question
Got a programming related question? You may want to post your question here