W3schools html
- how to put notes in html
- how to put notes in html code
- how to put comments in html
- how to put comments in html code
How to comment in html shortcut...
How to comment multiple lines in html shortcut key
HTML - Comments
HTML comments are non-executable lines of code that do not display on the webpage and are used to add notes or explanations. It is a good practice to add comments into your HTML code, especially in complex documents, to indicate sections of a document and any other notes to anyone looking at the code.
HTML comments are completely ignored by web browsers, so they don't affect how your page looks or works.
HTML comments help you and others understand your code and increase code readability and are placed in between <!-- ...
--> tags. So, any content placed with <!--... --> tags will be treated as a comment and will be completely ignored by the browser.
Example of HTML Comments
Here's an example of HTML comments:
<!DOCTYPE html> <html> <head> <!-- Document Header Starts --> <title>This is document title</title> </head> <!-- Document Header Ends --> <body> <p>Document content goes here.....</p> </body> </html>If you run the above program, it displays the senten
- how to put comments in html file
- how to insert notes in html