HTML Comments
HTML Comments:
• Comment is a piece of code which is ignored by the web browser.
• Comment help you & others understand your code and increases code readability.
• HTML comment are placed in between <!--……-->tags, within the tags the content will be treated
as comment.
Example:
<!DOCTYPE html>
<html>
<head> <!-Document Header Start-> <title>This
is document title</title>
</head> <!-Document Header Stop->
<body>
<p>Document content goes here………</p>
</body>
</html>
OUTPUT:
Document content goes here………
Comments
Post a Comment