HTML & CSS FoundationsLesson 9Free preview
Lists & Tables
This lesson is part of Intro to HTML & CSS · All levels
Summary
This material discusses two common data structures: lists (ordered and unordered) and tables. A list is suitable for a collection of items, whereas a table for data is row and column. The right use of elements makes content easier to understand and access.
Key points
- Ul for the non-ordered list, ol for the numbered list, li as the item
- The table is formed from tr (lines) containing th (header) and td (data)
- The attributes colspan and rowspan combine cells
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.