Html5 Comment

Google 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

Google Advertisements

Buy This Ad Space @$50 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

Cloud computing is the on demand availability of computer system resources, especially data storage and computing power, without direct active management by the user. Cloud Computing Tutorial

College Projects Related to Java, AWT, C Projects for College, C++ Projects for College, Android Projects. Download Java C C++ Projects

Download Projects

Adsense Advertisements


Buy This ads Space 8076671483

Buy This Ad Space @$120 per Month, Ad Size 300X600 Contact on: hitesh.xc@gmail.com or 8076671483 Try this Keyword C++ Programs