lecture5

lecture5 - PIC 40A Lecture 5: XHTML Lists, Objects, Tables...

Info iconThis preview shows pages 1–9. Sign up to view the full content.

View Full Document Right Arrow Icon
PIC 40A Lecture 5: XHTML Lists, Objects, Tables
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Lists Three types 1. Ordered 2. Unordered 3. Terms and Definitions Lists can be nested.
Background image of page 2
Unordered Lists • consist of ul tags and contain li (list item) tags as children • are block level elements eg <h1>Ways to Get to School</h1> <ul> <li>car</li> <li>bus</li> </ul>
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Ordered Lists • consist of ol tags and contain li (list item) tags as children • are block level elements eg <h1>Top 2 Ways to Get to School</h1> <ol> <li>car</li> <li>bus</li> </ol>
Background image of page 4
List Item li Elements • are block elements so each will display starting on a new line • may contain either block level or inline elements, or both • may contain text, other lists, or both as content (nesting)
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Definition Lists • consist of dl tags and contain term dt and definition dd pairs (all 3 block level) eg <dl> <dt>protocol</dt> <dd>a formal set of rules</dd> </dl>
Background image of page 6
More on Terms and Defns •dt may contain only inline content •dd may contain block or inline content
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
The object
Background image of page 8
Image of page 9
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 17

lecture5 - PIC 40A Lecture 5: XHTML Lists, Objects, Tables...

This preview shows document pages 1 - 9. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online