Advertisements
Advertisements
Question
Which is the correct way to comment out something in HTML?
Options
Using ## and #
Using <!-- and >
Using </-- and -/->
Using <!-- and -I>
MCQ
Advertisements
Solution
Using <!-- and -->
Explanation:
In HTML, comments are written between <!-- and -->.
Example: <!-- This is a comment -->
shaalaa.com
Is there an error in this question or solution?
