Chapter 1: Review


In this chapter we learned about tags.

A tag is a reference in an HTML document which describes the style and structure of the document. All tags start with < and end with >. Tags which mark a beginning have no /. Tags which mark an ending have a / immediately after <, as in </.

We also learned about certain types of tags, such as:

The HTML Tag. All HTML documents should begin with <HTML> and end with </HTML> tags. The basic source code example starts with <HTML> and ends with </HTML>.

HEAD and BODY Tags. HTML documents are separated into two sections, the head and the body. The beginning of the head section is marked by the <HEAD> tag, and the end of the head section with the </HEAD> tag. Likewise, the beginning of the body section is marked by the <BODY> tag, and the end of the body section with the </BODY> tag.

The TITLE Tag. The title of the page should be placed within the head section. The beginning of the title is marked by the <TITLE> tag, and the end with the </TITLE> tag. Most browsers display the title on the top portion of the frame of the page. Some browsers give the user the option to hide the display of the title. Many browsers also display the title of the document in the document title field, and use the title as the bookmark listing.

The Comment Tag. The comment tag is different from the other tags for the following reasons. It can be placed anywhere in the HTML file; inside the head section, inside the body section, or in between the head and the body. It does not end with a /. It starts with an <!-- and ends with an -->.

Attributes. Tags can have attributes, which modify the tag, similar to how adjectives modify nouns.

I am ready to go to the next chapter.
[INDEX] [PREVIOUS] [NEXT PAGE] [CHAPTER 1]

Valid HTML 3.2!