How to comment in HTML?
In this tutorial, we will learn how to comment in HTML code.
1 2 3 4 5 6 7 8 9 |
<html> <body> <h1>Welcome To T4-Tutorials</h1> <h2>Comments tag</h2> <!-- This is a comment --> <p>
Thanks For Your Love For T4-Tutorials.....</p> <!-- Comments can't be displayed in the web-page --> </body> </html> |
Images can be displayed in HTML comment or not?
Images can’t be displayed in HTML comment.
1 2 3 4 5 6 7 8 9 |
<html> <body> <h1>Welocme To T4-Tutorials
</h1> <h2>image can't dispaly in comments:</h2> <!-- <img src="logo.jpg" alt="logo"/> ---> </body> </html> |
Topic Covered
How to comment in HTML?