Do you have links to sites that you want to point people to? Have you written a great paper that shows people how to build, install, or complete something? Lists are among the best ways to organize information like this. They help information stand out clearly. There are several different types of lists that you can use in your pages.
There are five basic types of lists that you can use in your pages. When you use a list type, FrontPage anticipates how you want the list to be formatted. For numbered lists, FrontPage automatically places numbers at the beginning of the line. Bulleted lists are preceded by bullets. Definition lists start with a term at the beginning of the line and indent the definition.
The five types of lists are
Numbered lists are used to place items in a definite order. They are good for describing steps or procedures. Bulleted lists, on the other hand, are useful when you want to display a list of items that do not necessarily have to be arranged in a logical order.
Definition lists are used for entering a term and its definition, such as in a glossary, or for adding a title and a description in a hot list.
Directory lists and menu lists are used to place short items in a list. Although they are not often used, FrontPage supports them.
Use numbered lists when you want to present an ordered list of items. Top Ten lists are popular on the Web. Obviously, many people like to use numbered lists. I have my own Top Ten list, shown in Figure 10.1.
Figure 10.1 : Use numbered lists when you need to arrange items in a specific order.
Numbered lists are usually rendered as paragraphs separated by white space and prefixed by numbers. You can prefix them in other ways, though, as you learn in the "Adding Extended Attributes to a Numbered List" task.
To create a numbered list:
Sometimes you need to create nested lists-that is, multilevel lists-to arrange content. You can use the Insert | List commands or the Increase Indent and Decrease Indent buttons to create a nested list.
Look at the numbered list in Figure 10.2. A multilevel list is sometimes arranged with numbers and letters to designate the levels, as in an outline. How can you do that?
In FrontPage, the default is to use numbers in a numbered list, but you can assign other attributes to them. For example, you can specify large letters, small letters, large Roman numerals, or small Roman numerals in a numbered list. To do this, you use extended attributes. Table 10.1 describes the attributes that you can add to a numbered list.
Description | ||
Specifies a starting number for the list, with n being a positive integer | ||
Uses large letters in the list | ||
Uses small letters in the list | ||
Uses large Roman numerals in the list | ||
Uses small Roman numerals in the list |
To add extended attributes to a numbered list:
You might be a little confused at this point, because the FrontPage Editor does not change the appearance of the list. If you use your browser to look at the list, though, you can see the change. For example, I changed the second level of my list to use large letters. Figure 10.4 shows what it looks like in Internet Explorer. Notice that the second and third items in that level of the numbered list are automatically incremented to the next value.
When you want to list items but do not have to put them in a specific order, you can use bulleted lists. Many people use bulleted lists to display links to their favorite sites, and there are many other applications for them as well. In most browsers, bulleted lists are displayed as paragraphs separated by white space. Items are preceded by bullets, which are sometimes rendered differently. For example, when the list shown in Figure 10.5 is opened in Netscape, it looks the same as it does in the FrontPage Editor. It uses unfilled and filled squares for the second and third levels. When the same list is displayed in Internet Explorer, however, round bullets are used for all the levels.
To create a bulleted list:
TIP |
You can create a nested bullet list using the same procedures outlined in the "Creating a Nested Numbered List" task. Just substitute the bulleted list instead. |
You can change the type of bullet in a bulleted list by using
extended attributes. Extended attributes enable you to use discs,
circles, or squares for bullets in a bulleted list. Table 10.2
describes the attributes that you can add to a bulleted list.
Remember, though, that some browsers display the bullets differently.
For example, some browsers render disc bullets as squares, and
others render them as circles. Square bullets are usually rendered
as filled squares. Circle bullets are rendered as unfilled squares
in some browsers.
Name | Value | Description |
TYPE | DISC | Uses a disc-shaped bullet |
TYPE | CIRCLE | Uses a circular bullet |
TYPE | SQUARE | Uses a square bullet |
The default for a bulleted list is a circular bullet. The default for indented items in a nested bulleted list is a square bullet.
To add extended attributes to a bulleted list:
Use definition lists to present a term and its definition, such as in a glossary. You also use definition lists to provide a list of items when you want to include a description for each one. Generally, the definition term is aligned with the left margin of the page, and its definition is indented.
Figure 10.6 shows examples of definition lists. The top list is a traditional definition list; the terms and definitions appear single-spaced with no white space between them. The proper way to build a definition list is as follows:
Figure 10.6 : Text formatting added.
NOTE |
When you use the Insert | Definition | Term and Insert | Definition | Definition commands in repeated succession, you should be able to select the entire list by moving your cursor to the far left margin, where it turns into a selection pointer. Double-click in a white space area-not on a term or a definition-to select the entire list. |
In the bottom list shown in Figure 10.6, definition list commands create a hot list, but additional white space is added between the items. Each term and definition is actually a single definition list in itself. You can create a similar hot list, without typing any URLs.
NOTE |
You also can use the FrontPage Editor to navigate through the Web by using the Follow Link command or button. In this case, though, it is easier to keep the Editor open to the page you are editing. It makes cutting and pasting easier. |
In Figure 10.6, some text formatting has been added. Bold format is used for the page titles, and italic format is used for the URL in the page's definition.
FrontPage supports two more types of lists: directory lists and
menu lists. They were intended for programmers and are not used
very often any more. Many browsers do not support them well. Directory
lists were typically used to list the contents of a directory.
Similarly, menu lists were used to display the contents of a menu
or short items of twenty characters or less.
NOTE |
Some browsers do not recognize directory or menu lists. It is safer to use a bulleted list or numbered list instead. In the FrontPage Editor, directory and menu lists appear like bulleted lists. Some browsers, however, do not display bullets for these lists. |
To create a directory or menu list:
You can easily change one type of list to another, insert new items in a list, or delete list items all together.
If you change your mind about how you want to present your lists, you can change the list type easily. Numbered lists convert to bulleted lists with no problem. When you change from any other type of list to a definition list, though, all the list items become formatted as definitions-not as terms. You need to format the terms individually. If you reformat a nested list, the levels are retained when you reformat them. In some cases, you might need to reformat the inner levels first and work your way back to the first level.
To change the list type:
To delete a list or a list item from a page:
NOTE |
If you are unable to select an entire definition list, it may have been set up incorrectly. Refer to the Q&A section in this chapter for further information. |
To insert list items, just place the insertion point where you want to insert the new item and press Enter. A new number, bullet, or term is started for you. Enter the new list item as you normally would.
Organizing your information in lists is easy. The hardest part is thinking of the information that you want to include. Keep in mind that lists can appear differently in your visitors' browsers. While you develop your site, have a few different browsers on hand to check the appearance of your pages.
In this chapter, you learned how to format information in different types of lists. You learned how to add extended attributes to change the appearance of your lists. You also learned an easy way to develop hot lists without typing any URLs.
In Chapter 11, "Sprucing Up Your Pages," you learn how to create your own style sheets and how to add images and animation to your pages. You learn how to make images appear as though they float on your pages by using transparent GIFs. Read on to learn how to use color and images effectively. You even get tips on how to create your own images.
| I inserted a normal paragraph after a definition list, and the insertion point did not return to the beginning of the line. How do I get back to the beginning? |
| Click the Decrease Indent button twice to get back to the beginning. |
| How do I increase the indent in a definition list? When I select the items in the definition list and try to move them inward, they do not go anywhere. |
| You might have multiple normal paragraphs within the definition list. If the entire list does not become selected, you probably broke up the list during construction. This occurs when you use the Enter key to start a new term or definition rather than using the Insert | Definition | Term and Insert | Definition | Definition commands. You can tell where your list is broken when you select the list. After you reformat the broken areas, you should be able to select the entire list and indent it. |
| I am writing instructions on how to plant a garden, but sometimes I want to enter a paragraph or two between steps. When I start a numbered list after the paragraph, I want to continue the numbering from the preceding list. How can I do that? |
| Suppose that you covered steps 1 through 3 in your instruction, and then you wrote a paragraph. When you inserted a numbered list after the paragraph, it began with number 1, but you wanted it to begin with number 4. Place the insertion point within the list item that you want to change, and use the START extended attribute to change the first list item's value to 4. You will not see the numbers change in the FrontPage Editor, but you will notice it in your browser when you call up the page. |