Adding a Comment to an HTML Document Some organizations request developers to document their webpages by identifying the author, purpose, date created or last updated, and other information as required. To add this type of information to an HTML document, you use a comment tag, as shown in the Session 8.1 Visual Overview. Information in a comment tag is visible when you view the HTML document in a text editor, but it is not visible when viewing the page in a browser. Just like other tags, a comment can appear on a single line, or it can span multiple lines separated by line breaks. Also, you can place comments anywhere in an HTML document; you do not need to limit them to the head section. However, identifying information about the HTML document, such as the document’s creator or the date the page was last updated, usually appears in the head section because this is where most developers look for and store this type of information. Another use of a comment is to explain a section of the document to indicate its purpose or to provide notes about how the code was developed or is maintained. Chief Silva asks you to add some information to document the HTML file, and you will do so with a comment tag. To add a comment to the HTML document: 1 Click the insertion point at the end of the line that contains the opening tag, and then press the Enter key twice. 2 Type the following comment, replacing the text “Your Name” with your first and last names, and replacing the text “Date” with today’s date in the format MM/DD/YY. Press the spacebar four times to indent the second, third, and fourth lines of code. 3 Save the file. With the document’s structure and documentation in place, you can start adding content.