The HTML that we are writing lies behind the scenes when viewed in a web browser. You can view your own source code (or HTML document) since you already have it on your hard drive. What if you want to view the source code of another's web pages?
Just about every web browser in existence has a "View" menu. Under the view menu, you will find an option of "Source," "View Source," or something similar. When you choose this option, the browser will create another window which has HTML code of the page viewable instead of rendered.
Now is the time to think about intellectual property. Any content or code you create is yours by copyright at the moment of creation. The same is true of others' creations. It is unethical and illegal to copy either for your use without permission and credit. In some instances, you may cite someone else's work and use excerpts as you would see in a scientific publication.
With proper respect to another's intellectual property, viewing another's source code is a great way to get creative ideas. Perhaps you will see a page layout that you admire and wish to do something similar. If you can't emulate it immediately, view the page source to give you hints on how to write your code.
Once you can view a pages source code, you may find information in the <body> section that you could not see in the browser window. This could be text or code or both. It might look something like the following.
<!-- Anything you write between the opening an closing parts of this tag will be "commented" out of the page. -->
HTML comments are a great way to leave notes in your code. If you are working on a team project, each member can "sign" and date when changes are made in a comment. It is useful to leave a comment at the beginning and end of particularly complex coding passages to help yourself navigate. Comments are also very useful for notes on projects that you may not visit often; they can "refresh" your memory.