Html5 Comment

Advertisements

Prev Tutorial Next Tutorial

Html5 Comment

Comment is nothing but it is a statement which is not display on browser window. It is useful to understand the which code is written for what purpose. Comment tags <!-- and --> are use for comment on html5 page.

Syntax

<!--  Html comment -->
 

Example

 <html>
 <body>
<!--  Html page -->
 <p>This is simple html page<p>
 <p>Html is simple and easy to learn<p>
</body>
</html>

Result

This is simple html page

Html is simple and easy to learn

In above example comments are not display on browser

Multiline Comment

Comment may be single line or multiline, syntax for multiline comment is given below.

Syntax

<!--  
Html Multi 
Line Comment 
-->

Example

 <html>
 <body>
<!--  
Html page 
Start from here 
-->
 <p>This is simple html page<p>
 <p>Html is simple and easy to learn<p>
</body>
</html>

Result

This is simple html page

Html is simple and easy to learn


Prev Tutorial Next Tutorial

Advertisements

Buy This Ad Space @$20 per Month, Ad Size 600X200 Contact on: hitesh.xc@gmail.com or 8076671483

Pure VPN Privide Lowest Price VPN Just @ $1.65. Per Month with Non Detected IP Lowest Price Non Detected IP VPN

Magenet is best Adsense Alternative here we earn $2 for single link, Here we get links ads. Magenet

Download Projects

Advertisements


Buy Websites 9999595223

Buy Fresh and Payment Receive Media.net Account with Website. Contact on: hitesh.xc@gmail.com or 9999595223 Try this Keyword C++ Programs