Oops! It appears that you have disabled your Javascript. In order for you to see this page as it is meant to appear, we ask that you please re-enable your Javascript!

How to comment in HTML?

How to comment in HTML?

In this tutorial, we will learn how to comment in HTML code.

<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.

<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?

Fazal Rehman Shamil Click Here to Know More
Instructor, Researcher, Blogger, SEO Expert, Poet and Publisher of International Journal Of Software, Technology & Science ISSN : 2616 - 5325
Dear Professors and Resarchers!You are welome to Cite these tutorials in your research or slides etc. Please don't forget to mention the reference of website. Copy Paste of text is strcitly forbidden. Images can be reuse because images are protected with watermark.