Home » HTML » Html miscellaneous » Question
  1. How do we write comments in HTML5?
    1. </…….>
    2. </……/>
    3. <…….!>
    4. <!……>
    5. None of these
Correct Option: D

Browser ignores comment in a code. There are always two types of command i.e. single line command and multiple line command. If one wants to add a comment in code, add the text between these characters <!…..comment….>. It will not visible in the user’s browser.



Your comments will be displayed only after manual approval.