QP School

Full Version: Multi Line Comments in HTML5
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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:

[attachment=86]

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

[attachment=87]