Lab
- 1. table: This is used to create a table to organize and display data in rows
and columns, making it easier to present information in a structured format.
- 2. tr: is used to define a row within a table, allowing you to group and
arrange data horizontally.
- 3. th: is used to define a header cell in a table, providing a clear and
prominent title for a column or row.
- 4. td: is used to define a standard cell in a table, holding the actual data
or content within a specific column and row.
- 5. caption: is used to add a caption or title to a table, ensuring that the
purpose or context of the table is easily understood.
- 6. :first-of-type- is a CSS selector that selects the first element of its type
within its parent element, useful for styling or targeting specific elements in
a certain order.
- 7. :first-child- is a CSS selector that selects the first element among its
siblings within its parent element, allowing you to apply specific styles or
modifications to the initial element in a set.
- 8. :last-of-type- is a CSS selector that selects the last element of its type
helping you target and modify the final occurrence of a certain element.
- 9. :last-child- is a CSS selector that selects the last element enabling you to
apply specific styles or effects to the last element in a set.
- 10. :nth-of-type- is a CSS selector that selects elements based on their
position within their parent element, allowing you to style or manipulate
specific occurrences of a certain element type.