Home >> HTML 5 >> What is Comments in HTML 5

What is Comments in HTML 5

We can do any code comment in HTML like below :-

<!--  Some Text -->

Example

<!Doctype Html>  
<html>
<head>
</head>
<body>
<p>This is a first paragraph.</p>

<!-- <p>This is a second paragraph.</p> -->

<p>This is a third paragraph.</p>
</body>
</html>

Output

This is a first paragraph.

This is a third paragraph.

Post Your Comment

Next Questions
What is Colors
What is CSS
What is Links
What is Images
What is Favicon
What is Tables
What is Table Borders
What is Table Sizes
What is Table Headers
What is Table Padding and Spacing
What is Table Colspan and Rowspan
What is Table Styling
What is Table Colgroup
How many type of Lists
What is Unordered Lists
What is Ordered Lists
What is Block and Inline Elements
What is HTML class Attribute
What is HTML id Attribute
What is HTML Iframes
What is HTML JavaScript
What is HTML File Paths
What is HTML Head Element
What is HTML Layout
What is HTML Responsive Website Design

Copyright ©2022 coderraj.com. All Rights Reserved.