HTML and CSS Reference
Inserting h1 and h2 headings
7. Save your changes to the file and then reload or refresh the jprop.htm file in your
Web browser. Figure 1-16 shows the initial view of the page body content.
Viewing h1 and h2 headings in Dave's document
The interpretation of a particular heading depends on how it's used. For example, the h2
headings you just entered were used either to provide a title for articles or sections in the
Web page or as a subtitle to the main title of the page. You can indicate that an h2 head-
ing acts as a subtitle by grouping it with a main title heading using the hgroup element .
The hgroup element uses the syntax