HTML Comments

HTML comment cans be done by following the statement <!-- Write your comments here -->.

Please keep in mind that written comments do not display by the browser. It provides help to understand the HTML source code by another developer.

General Syntax For Writing the HTML Comments:

<!-- Write your comments here -->

To comment HTML element, use following syntax <!-- Write your comments here -->

Source Code

<p>This is a paragraph having by default margin.</p>
<p>This is other paragraph having also by default margin.</p>
Try it now

Note:HTML code is commented by following syntax <!-- HTML Code --> .

Online Test / Quiz

Web Tutorials

HTML Comments
Html Tutorial HTML
Javascript Tutorial JAVASCRIPT
Css Tutorial CSS
Bootstrap 5 Tutorial BOOTSTRAP 5
Bootstrap 4 Tutorial BOOTSTRAP 4