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. 
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *