HTML5 Lists and Tables: 30 flashcards
All 30 flashcards from this kit, free and with no sign-up.
1. What is the main purpose of HTML lists?
Show the answer
To group related items together in a single column, giving structure to content.
2. What is the main purpose of HTML tables?
Show the answer
To arrange data in a grid of rows and columns for comparison.
3. Name the three types of HTML lists.
Show the answer
Unordered list (`<ul>`), ordered list (`<ol>`), and definition list (`<dl>`).
4. Which tag creates an unordered list?
Show the answer
`<ul>`
5. Which tag creates an ordered list?
Show the answer
`<ol>`
6. Which tag creates a definition list?
Show the answer
`<dl>`
7. What tag wraps each item in a `<ul>` or `<ol>`?
Show the answer
`<li>` (list item)
8. What are the possible values for the `type` attribute of `<ul>`?
Show the answer
`disc` (default), `circle`, `square`
9. What are the possible values for the `type` attribute of `<ol>`?
Show the answer
`1` (decimal, default), `A`, `a`, `I`, `i`
10. Which attribute of `<ol>` sets the starting number?
Show the answer
`start`
11. Which attribute of `<ol>` makes it count down?
Show the answer
`reversed`
12. What is a nested list?
Show the answer
A list placed inside an `<li>` of another list.
13. Which tags are used inside a `<dl>`?
Show the answer
`<dt>` for the term and `<dd>` for the description.
14. What is the purpose of the `<caption>` tag in a table?
Show the answer
It provides a brief description or title for the table.
15. Which tag defines a row in an HTML table?
Show the answer
`<tr>`
16. Which tag defines a data cell in an HTML table?
Show the answer
`<td>`
17. Which tag defines a header cell in an HTML table?
Show the answer
`<th>`
18. What does the `rowspan` attribute do?
Show the answer
Merges a cell vertically across multiple rows.
19. What does the `colspan` attribute do?
Show the answer
Merges a cell horizontally across multiple columns.
20. Which HTML5 element defines a navigation section, often containing a `<ul>` of links?
Show the answer
`<nav>`
21. What happens if you forget to close the `</table>` tag?
Show the answer
Unexpected formatting issues, such as layout collapse.
22. What can go wrong if you misuse `rowspan` and `colspan`?
Show the answer
Cells may become misaligned or overlap, breaking the table layout.
23. Why are meaningful captions and labels important for tables?
Show the answer
They make tables accessible to all users, including those using screen readers.
24. Should tables be used for page layout? Why or why not?
Show the answer
No, tables should be used for tabular data only; layout should use CSS.
25. Give an example of when to use an unordered list.
Show the answer
A shopping list where order does not matter.
26. Give an example of when to use an ordered list.
Show the answer
A recipe where steps must be followed in order.
27. Give an example of when to use a definition list.
Show the answer
A glossary of terms and their meanings.
28. Give an example of when to use a table.
Show the answer
A marksheet with student names and subject scores.
29. What is the default bullet style for `<ul>`?
Show the answer
`disc` (filled circle)
30. What is the default numbering style for `<ol>`?
Show the answer
`1` (decimal numbers)
Your notes can be a kit like these
Every kit here was made from real study material. Point Veda at a chapter, a PDF, a photo or a link and get notes, flashcards, practice MCQs, games and a scored test — free to start, in more than 40 languages.
- Chapter notes
- Flashcards
- Practice MCQs
- Scored tests
- Paper Solver
Get Veda free See what students get
Free to start · Android app and web · More than 40 languages