Hello guys! In this tutorial I have shared the details about “how to comment in html”. Okay, let’s move on to the post.
how to comment in html
<!--This is a comment in html.--> <!--You can put comments enywhere! It does not care if it is mid peice of code in a peice of code! You must put the ending arrows in or it will think everything is a comment! Note you can comment over multiple lines. Use a ! at the start arrow, this may not make sence as the rest of html uses tags where ! is at the ends.-->
<div> <p>This text is visible. Check the source code for multi-line comment.</p> <!-- Hello, world! I am a comment and I am displayed in multiple lines! --> </div>
<!-- questo è un commento -->
<!-- This is HTML --> /* This is CSS */ // This is CSS to
<!-- here is how to use comment in htm -->
I hope this tutorial helps you to know about “how to comment in html”. If you have any queries regarding this article please let us know via the comment section. Share this article with your friends and family via social networks.