HTML comments can be used to _____ sections of code for testing purposes.

  • 'disable' 
  • 'highlight' 
  • 'modify' 
  • 'run' 
HTML comments can be utilized to 'disable' sections of the code. When developers are troubleshooting or testing changes to a web page, they might want to temporarily disable certain sections without deleting them. By placing the code inside HTML comment tags, it's effectively made invisible and non-executable to browsers, thus disabling it without removing it. 
Add your answer
Loading...

Related Quiz