lists

11
XHTML 1 Lists N100 Building a Simple Web Page

Upload: buffy-gardner

Post on 02-Jan-2016

22 views

Category:

Documents


2 download

DESCRIPTION

Lists. N100 Building a Simple Web Page. Creating Lists. Lists are a very important tool in proper Web page authoring because they provide a way of logically ordering a series of words or numbers - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Lists

XHTML 1

Lists

N100

Building a Simple Web Page

Page 2: Lists

XHTML 2

Creating Lists

• Lists are a very important tool in proper Web page authoring because they provide a way of logically ordering a series of words or numbers

• They also provide a simple, yet effective design technique for making it easier for Web site visitors to locate information

• You can add lists to a Web page; unordered lists, and ordered lists

Page 3: Lists

XHTML 3

Creating Lists

Page 4: Lists

XHTML 4

Unordered Lists

• An unordered list is a series of bulleted items

• To define the items you want to appear in the bulleted list, you nest <li> elements within a <ul> element

Page 5: Lists

XHTML 5

Unordered ListsTo create an ordered list, you will use this code:<ul>

<li>The Flash</li>

<li>The Green Lantern</li>

<li>The Spectre</li>

<li>The Hawkman</li>

<li>Dr. Fate</li>

<li>The Hour-Man</li>

<li>The Sandman</li>

<li>The Atom</li>

<li>Johnny Thunder</li>

</ul>

Page 6: Lists

XHTML 6

Unordered ListsYour unordered list will look like this:

•The Flash•The Green Lantern•The Spectre•The Hawkman•Dr. Fate•The Hour-Man•The Sandman•The Atom•Johnny Thunder

Page 7: Lists

XHTML 7

Unordered Lists as it appears on the Web

Page 8: Lists

XHTML 8

Ordered Lists

• An ordered list is a series of numbered items

• To define the items you want to appear in the numbered list, you nest <li> elements within an <ol> element

Page 9: Lists

XHTML 9

Ordered ListsTo create an ordered list, you will use this code:

<ol>

<li>Sean Connery</li>

<li>George Lazenby</li>

<li>Roger Moore</li>

<li>Timothy Dalton</li>

<li>Pierce Brosnan</li>

</ol>

Page 10: Lists

XHTML 10

Ordered ListsThis what an ordered list will look like,

• Sean Connery• George Lazenby• Roger Moore• Timothy Dalton• Pierce Brosnan

Page 11: Lists

XHTML 11

Ordered Lists as it appears on the Web