110 likes | 221 Views
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
E N D
Lists N100 Building a Simple Web Page XHTML
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 XHTML
Creating Lists XHTML
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 XHTML
Unordered Lists To 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> XHTML
Unordered Lists • Your 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 XHTML
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 XHTML
Ordered Lists To 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> XHTML
Ordered Lists • This what an ordered list will look like, • Sean Connery • George Lazenby • Roger Moore • Timothy Dalton • Pierce Brosnan XHTML