Comment in HTML is written with the help of ________. (Fill in the blank)
Answers
Answered by
2
This element is used to add acomment to an HTML document. AnHTML comment begins with <!–– and the comment closes with ––> . HTML comments are visible to anyone that views the page source code, but are not rendered when the HTMLdocument is rendered by a browser.
Answered by
2
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
Biology,
6 months ago
Math,
6 months ago
Math,
6 months ago
Geography,
1 year ago
Social Sciences,
1 year ago
Social Sciences,
1 year ago