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 Section Headers

(X)HTML provides for up to six levels of headers in your Web page for separating your page into manageable chunks.

To organize your Web page with headers:

  1. In the body section of your (X)HTML document, type <hn>, where n is a number from 1 to 6, depending on the level of header that you want to create.
  2. Type the contents of the header.
  3. Type </hn> where n is the same number used in step 1.
Figure 3.10

Figure 3.10 You can use headers to give your document structure, like an outline.

Figure 3.11

Figure 3.11 The most common default display for first level headers is 24 pixels, Times New Roman, in boldface.

  • + Share This
  • 🔖 Save To Your Account