1 / 9

Week 5 Lab Agenda

Week 5 Lab Agenda. Lists. Lists – The 2 most common types:. Web Browser. unordered (bulleted) ordered (numbered) Lists can contain other tags. (<b>,<i>). This is a ordered list 1. item one 2. Item number 2 3. item #3 4. item 4 5. Item 5. source: Inge McLaurin.

Download Presentation

Week 5 Lab Agenda

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Week 5 Lab Agenda • Lists Week 5 Lab

  2. Lists – The 2 most common types: Web Browser • unordered (bulleted) • ordered (numbered) • Lists can contain other tags. (<b>,<i>) This is a ordered list 1. item one 2. Item number 2 3. item #3 4. item 4 5. Item 5 Week 5 Lab source: Inge McLaurin

  3. Section of unorderList.html <UL> <LI>item</LI> <LI>other item</LI> <LI><B>bolditem</B></LI> <LI>item</LI> </UL> All Lists use a “List Type” • The list type for a unordered list is <UL> • The list type for an ordered list is <OL> • Every item in the list is contained by the tag <LI> • The list type has the optional attribute TYPE Week 5 Lab source: Inge McLaurin

  4. Section of unorderList.html <UL TYPE=circle> <LI>item</LI> <LI>other item</LI> <LI><B>bolditem</B></LI> <LI>item</LI> </UL> For an Unordered List (bulleted list) the values for the optional “type” attribute are... circle, disc, square. (default = disc) Web Browser • item • other item • bolditem • item Week 5 Lab source: Inge McLaurin

  5. Ordered lists – each item gets a number, letter, or roman numeral Section of orderList.html Web Browser <OL> <LI>item</LI> <LI>other item</LI> <LI><B>bolditem</B></LI> <LI>item</LI> </OL> • 1. item • 2. other item • 3. bolditem • 4. item Week 5 Lab source: Inge McLaurin

  6. For an ordered list the values for the “type” attribute are... • <OL TYPE=“1”> numbers (default) • <OL TYPE=“A”> uppercase letters • <OL TYPE=“a”> lowercase letters • <OL TYPE=“I”> uppercase Roman Numerals • <OL TYPE=“i”> lowercase Roman Numerals. Week 5 Lab source: Inge McLaurin

  7. Ordered list – the Start attribute • Makes an ordered list start at any number you want. • The attribute “START” can be used inside the <OL> tag or inside the <LI> tag. Week 5 Lab source: Inge McLaurin

  8. Your turn - Nested List Week 5 Lab

  9. How to prepare your Test 1 • You are allowed to bring 8 1/2 x 11 reference sheet, handwritten on one side only. • Click on “Prepare” button on my web Week 5 Lab source: Ling Zhu

More Related