|
||||||||
Lists |
||||||||
.... |
||||||||
Creating ListsLists can make text on Web pages easier to read. You can use lists to separate ideas or tie them together, or both. HTML coding for lists is flexible and provides a wide range of options. In this lesson, you will define basic list types and creat unordered, ordered, and definition lists. Defining Basic List Types Using HTML, you can create unordered, and ordered, and definition lists.
HTML lists always include the list tags and line tags
The following table shows the three list styles and their list tags. Regardless of the number of items in the list, the opening list tag alway appears at the start of the list, and the closing tag always appears at the end.
The second tag required for HTML lists is the line tag, <LI> . the <LI> tag has no closing tag.... but it is ok to include one.
Line tags do not require a closing tag because the browser continues the list item until it encounters either another <LI> tag (indicating the start of another list item) or a closing list tag taht ends the list. You can embed HTML formatting tags such as <B><I> within lists. YOu can also include hyperlinks and multimedia elements, so your list could include a list of your favorite websites. |
||||||||