HTML <!—…..—> Comment Tag
The HTML Comment Tag is used to make the most important comment that will not appear on your HTML page, only the comment will be shown in your back end but not in the font.
<!DOCTYPE html> <html> <head> <title>HTML comment <!--....--> Tag</title> </head> <body> <h1>This is Comment tag </h1> <!-- This is a commented line supported by almost every browser. It will not appear in the output as it's a comment. --> </body> </html>
This is Comment tag
Note:- In the back end, you use the comment tag to hide any tag or div or extra… in the front end in the code editor.
One thought on “HTML Comment Tag”