Download presentation
Presentation is loading. Please wait.
Published byRebecca Carson Modified over 9 years ago
1
XHTML Lists
2
There are three types of lists available in XHTML Unordered or bulleted lists Ordered or numbered lists Definition or directory lists
3
Lists Unordered Ordered Definition
4
Creating Lists Unordered and Ordered Lists use two tags or to begin the list to begin each list item Note: Remember there must be a closing tag for each opening tag.
5
Unordered Lists Used to list any series of items that have no particular order.
6
Unordered Lists Things to do today: Pick up dry cleaning Grocery shopping Pay bills
7
Unordered Lists Things to do today: Pick up dry cleaning Grocery shopping Pay bills Notice the title of the list goes before the tag and is enclosed in the paragraph block element.
8
Unordered Lists Things to do today: Pick up dry cleaning Grocery shopping Pay bills
9
Ordered Lists Perfect for explaining step-by- step instructions for how to complete a particular task or for creating an outline of a larger document.
10
Ordered Lists Logon to the computer Open your journal Write your Glossary word Wait for instructions
11
Ordered Lists 1. Logon to the computer 2. Open your journal 3. Write your Glossary word 4. Wait for instructions
12
Definition Lists Particularly suited to glossaries, but works well with any list that pairs a word or phrase with a longer description.
13
Definition Lists Consist of a term, followed by an indented definition. Use three tags: - begin the list - definition term - definition
14
Definition Lists A apples artists B bugs balloons
15
Definition Lists A apples artists B bugs balloons
16
Nesting Lists You can nest lists within lists. item a item b item c item one item two
17
Nesting Lists 1. item a 2. item b 3. item c item one item two
18
list-style-type By default, unordered lists use a disc for each item and ordered lists use numbers. You can change the appearance of either by including the list-style-type property in a style attribute
19
Style attribute - unordered Item one Item two Item one Item two Item one Item two
20
Style attribute - ordered Item one Item two Item one Item two Item one Item two
21
Style attribute - ordered Item one Item two Item one Item two
22
Comments – Why? To remind you (or future editors) what you were trying to achieve with your HTML tags. Great way to add reminders to your text.
23
Comments – Why? A comment will be ignored by the browser. You can use them to keep track of revisions.
24
Comments – How? Comments start with <!-- Comments end with --> Example
25
Assignment Exercise 6: Creating lists Independent Practice: List Assignment
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.