What are comments in HTML ?
Answers
Answered by
7
this element is used to add a comment to a HTML document.An HTML document begins with a <!-- n the comment closes with-->. HTML comments r visible to anyone that views the page source code, but r not rendered when the HTML
can you please mark the answer as brainliest
can you please mark the answer as brainliest
pptx16:
pls mark as brainliest
Answered by
4
Answer:
Comment in HTML is written with the help of tags <!-- and -->
Explanation:
Suppose you need to add a comment in your code.
comment : "this code changes the background colour"
So you will write this as
<!--this code changes the background colour-->
Make sure there are no spaces in the comment tags. For example < !-- will not activate the comment function. Inside the tags, you can have as many spaces as you'd like.
Similar questions
Social Sciences,
6 months ago
Biology,
6 months ago
Science,
1 year ago
CBSE BOARD X,
1 year ago
Hindi,
1 year ago