To comment out multiple lines, a _____ is used at the beginning and end of the comments.
- ''' '''
- /* */
- // //
In HTML, to comment out multiple lines or even a single line, you use the syntax. It signals the browser to not interpret anything between these markers as actual code, but rather as a comment. Unlike programming languages like JavaScript or CSS which have different comment structures (// and /* */ respectively), HTML exclusively uses this format for commenting.
Loading...
Related Quiz
- Inline quotations are typically represented using the _______ element in HTML.
- The ______ attribute is used to merge cells horizontally.
- Which attribute should be used to associate a label with a form control?
- Can comments be used to store metadata about the HTML document?
- How do you associate a label with a specific form control when they are not nested?