2.1 Comment Tags
When building web pages it can be often be useful to insert helpful comments into the HTML pages to explain what a particular section of code does. This comes in particularly useful when constructing long pages or during editing sessions, and can be accomplished using the comment tag:
<!--comment goes here-->
Anything between the <!-- and the --> will be ignored by a browser. For example:
<!--My first website, designed by me--> <html> <!--head section--> <head> </head> <!--body section--> <body> <h1>My first Website</h1> <br /> <p>Hello <b>beautiful</b> world!!</p> <hr /> <p>You <i>can</i> do it if you learn the tags & don't give up!</p> </body> </html>
Of course we wouldn't normally need to add comments to a site as simple as the one in this example, but they can be useful for more complex sites.