Which of the following is the correct HTML tag to comment in HTML?

Which of the following is the correct HTML tag to comment in HTML? Correct Answer <!- and ->

The correct answer is <!- and ->.

Key Points

  • The comment tag is used to insert comments in the source code.
    • Comments are not displayed in the browsers.
    • The HTML comment tag is <!- and ->.
    • The above tag causes the browser to ignore everything inside the tag.

Related Questions

A graphical HTML browser resident at a network client machine Q accesses a static HTML webpage from a HTTP server S. The static HTML page has exactly one static embedded image which is also at S. Assuming no caching, which one of the following is correct about the HTML webpage loading (including the embedded image)?
To prevent the characters in your script from conflicting with the reserved XML characters ] tag b) Use !] tag c) Use ! tag d) None of the mentioned
grails create-tag-lib tag-lib-name command creates a custom tag library under:-