QP School
Multi Line Comments in HTML5 - Printable Version

+- QP School (https://qomplainerzschool.lima-city.de)
+-- Forum: Tutorials (https://qomplainerzschool.lima-city.de/forumdisplay.php?fid=3)
+--- Forum: HTML5 Tutorials (https://qomplainerzschool.lima-city.de/forumdisplay.php?fid=4)
+--- Thread: Multi Line Comments in HTML5 (/showthread.php?tid=2492)



Multi Line Comments in HTML5 - Qomplainerz - 02-21-2021

Comments will be ignored by the browser.
You can use comments i.e. to make it easier to read your codeĀ for others when working in a team,
or to make it easier to understand what each part of the code does when trying to teach someone programming,
or for commenting out some parts of the code that didn't work as expected to fix them later.

Multi line comments are done as follows:

   

If you have done it correctly your HTML document should look like this now: