Comments are a part of the HTML code and is used to explain the code. This can be helpful for other HTML coders when trying to interpret someone elses code. It can also be useful for yourself if you have to revisit your code in many months, or even years time. Comments aren't displayed in the browser - they are simply there for the programmer's benefit.
You write comments like this:
. This tells the browser when a comment begins and ends.
Example HTML Code:
<-- Display a happy image ---> width="100" height="100" alt="Smile" />
Well, we have now finished the first part of this tutorial. We have covered a lot, and by now, you have learned enough to build a website.
If you'd like to learn some of the more advanced HTML techniques, such as, how to create tables, frames, forms etc, please continue!