HTML comments are denoted by _____ and _____.
- /* and */
- // and \
- <-- and -->
In HTML, comments are wrapped between . These delimiters instruct the browser to ignore everything between them. It's important to note that unlike comments in some other languages, HTML comments are visible in the source code but won't be displayed in the rendered page.
Loading...
Related Quiz
- Users are experiencing issues where they complete a form but receive an error stating that required fields are not filled out. How can you ensure that users are alerted to missed fields before submitting?
- Which attribute of the anchor tag is used to specify the linked document's URL?
- The ______ element is used to define an image map.
- What is the role of the "style" attribute in HTML elements?
- Can comments in HTML contain special characters?