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?

Prof.Fazal Rehman Shamil (Available for Professional Discussions)
1. Message on Facebook page for discussions,
2. Video lectures on Youtube
3. Email is only for Advertisement/business enquiries.