Html Quiz 3

0.0(0)
studied byStudied by 2 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/20

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

21 Terms

1
New cards

Why is content order important for accessibility?

Content should make sense when read by a screen reader — not just visually. Logical flow improves accessibility.

2
New cards

What does aria-hidden="true" do?

Hides content from screen readers, even though it may still be visible on the screen.

3
New cards

What is the purpose of an .sr-only class?

Hides content visually but keeps it accessible to screen readers.

4
New cards

What does <table> define?

A container for tabular data.

5
New cards

What is <caption> used for in a table?

Adds a title or description to the table. Must be the first child of <table>.

6
New cards

What does <thead> represent?

A group of header rows in a table.

7
New cards

What does <tbody> contain?

The main content (rows) of the table.

8
New cards

What is <tr> used for?

Defines a table row.

9
New cards
10
New cards

What does <td> stand for?

Table data cell — used for regular data entries.

11
New cards

What is <th> used for in a table?

Table header cell — usually bold and centered, used to label data.

12
New cards

What does clip do in CSS?

Defines a rectangular clipping region — used with position: absolute.

13
New cards

What is clip-path used for?

Clips an element to a shape (circle, polygon, etc.). Use -webkit-clip-path for cross-browser support.

14
New cards

What does overflow control?

Determines what happens when content overflows an element’s box (visible, hidden, scroll, or auto)

15
New cards

What does white-space control?

How text wraps or stays on a single line (normal, nowrap, pre, etc.).

16
New cards

What is gap in Flexbox?

Adds space between rows or columns in a flex or grid container.

17
New cards

What does z-index do?

Controls stacking order — higher values appear on top. Requires a non-static position.

18
New cards

What does !important do in CSS?

Forces a style to override any other rule, including inline styles and specificity.

19
New cards

What does :nth-of-type(n) do?

Selects the n-th element of its type among siblings.

20
New cards

What does :last-of-type select?

The last element of its type among siblings.

21
New cards

What does :first-of-type select?

The first element of its type among siblings.