Professional Documents
Culture Documents
Comments in HTML
Comments in HTML
Comments in HTML
<!---
This is
a
Multiline
Comment
-->
<!-- <p>This
is a
multiline
paragraph </p> -->
Output:
Example:
Output:
Note: HTML comments are not displayed in the
browser, but they can help document your HTML
source code.
Output:
In the above example, the middle paragraph is ignored
by the browser.
Output:
In the above example, the word element is ignored by
the browser.
In the next article, I am going to discuss Links in
HTML with Examples. Here, in this article, I try to
explain Comments in HTML with Examples and I
hope you enjoy this HTML Comments with Examples
article.