Creating headings and paragraph elements

Headings are an important organizational component of HTML files. You can convert existing text into headings or change heading levels.

A long, well-organized Web page tends to have many headings. You can specify the heading level of your text in several ways:

The associated heading attributes are reflected in the Design or Split tabs.

When you change the heading levels of selected text, the selected text and the entire paragraph will be changed. If you only want to change the selected text, separate it into a different paragraph. To create a new paragraph break, press

Ctrl + Enter (by default, pressing Enter creates a new line break).

If you select

Format | Paragraph and then a heading level, an empty heading level is created, so that the text you type will use that heading level. If you select text and then select

Format | Paragraph and then a heading level, only the selected text will use that heading level.

The following table lists the available paragraph types:

Type of paragraph Explanation
Normal This is a normal paragraph in the default format.
Heading There are six levels of headings: headings 1 through 6. Heading 1 is the highest level. On a Web browser, the text of the "heading" paragraph is often displayed in a bold font. The font size usually becomes smaller as the heading level increases.
Address Use this paragraph type to enter an address. On a Web browser, the text of such a paragraph is often displayed in an italic font.
Block quotation Use this paragraph type to enter a quoted statement. On a Web browser, the text of such a paragraph is often indented.
Preformatted Use this paragraph type to show the text you have input as it is. If you use this type of paragraph, you can enter spaces as much as you like by pressing the Space key. On a Web browser, the text of such a paragraph is displayed in a fixed width (monospace) font.

 

Related tasks

Changing character attributes

Indenting and aligning text and images

Changing element attributes

Inserting special characters

Validating HTML syntax

Checking spelling in Web pages