Publishers of technology books, eBooks, and videos for creative people

Home > Articles > Web Design & Development > HTML/XHTML

  • Print
  • + Share This
This chapter is from the book

Creating a Title

Each (X)HTML page must have a title element. A title should be short and descriptive. In most browsers, the title appears in the title bar of the window (Figure 3.7). Perhaps even more importantly, the title is used by search indexes like Yahoo and Google as well as in your visitors' browsers' history lists and bookmarks.

Figure 3.6

Figure 3.6 The title element should be placed in the head section. It is required.

Figure 3.7

Figure 3.7 The title of a Web page is shown in the title bar of the window.

To create a title:

  1. Place the cursor between the opening and closing head tags (see page 58).
  2. Type <title>.
  3. Enter the title of your Web page.
  4. Type </title>.
  • + Share This
  • 🔖 Save To Your Account