Comments - Chapter 3
Comments
So adding comments to your documents is important. Every programming language has a way of adding comments to its code.
Comments DO NOT affect the actual code in any way.
Comments add context and explanation to code and to segments of code.
Comments can be used to “comment out” some section of code. In other words, if the appropriate comment symbols are put around a piece of code, it will not execute in the program. You may do this to remember some code that you don’t wish to use, while working through your program.
Comments cannot be seen by the user on the screen.
Comments should be clear and logical, that way they will be useful to you when you revisit code you’ve written in the past.
In HTML you write comments by using the following characters:
<!- - (Comments go here) - - >
Refer to the course booklet for the code for Exercise #3.