HTML Comments
Comments
Comments are basically used to help the developer to understand the code better. It is basically used to describe the function or purpose of the code written. However, it will not be shown to the browser,
Uses of HTML Comments:-
- helps in understanding code
- makes code more readable
- assist the developer to learn more about the functions that a certain code can perform
- can be used as notes
- it can be used to display updates or portrayals
Syntax:-
Its syntax is:- < !-- HTML Comments goes here -- >
Code Explanation
All Tutorials related to HTML Basics
Headings
Horizontal Lines
Comments
The p Tag
Line Break
Multiple Line Breaks
Text Format
Elements
Attributes
Multiple Attributes
The img Tag
Ordered List
Unordered List
Tables
Table Properties
The a Tag
Block Elements
Inline Elements
HTML Forms
HTML Colors