HTML and CSS Reference
In-Depth Information
Figure 2.9: HTML heading elements
Figure 2.9 is essentially what a search robot sees when it looks at a page.
Speaking of robots, there is an HTML element that groups headings for their
beneit. he heading group element, <hgroup></hgroup> , can contain only
headings and other heading groups. It implies that those contained head-
ings are related to each other. A browser may or may not visually indicate the
group. However, using CSS, you can make the headings and heading groups
look how you want them to look. his is illustrated in Figure 2.10. It uses the
same body content as Example 2.9 but adds the selectors and rules to the style
element in the document's head that are shown in Example 2.10.
Figure 2.10: HTML headings with CSS styles
Search WWH ::

Custom Search