CSS knowledge quiz Return to pathway Which CSS selectors will correctly target the <p> element only if it's inside a <div> with the ID "container"? Choose as many answers as you see fit. #container > p div#container p #container p p div p The overflow property accepts two keywords, the first keyword is for which axis? vertical center horizontal Which display values create a flexible box layout? grid table flex inline-block Which of the following are valid CSS pseudo-classes? Choose as many answers as you see fit. :focus :hover ::before ::after :active Which techniques are used to create a responsive design using CSS? Choose as many answers as you see fit. Fluid grids Percentage-based widths Table layouts Media queries Fixed-width layouts Viewport meta tag Which of the following properties control the stacking order of elements using? float z-index display Which of these are valid units for specifying font sizes in CSS? Choose as many answers as you see fit. number em rem deg cm px pt Which of the following CSS properties influence the visual layout of a table? Choose as many answers as you see fit. border-collapse grid-auto-flow width text-align border-spacing What are some ways to improve the accessibility of CSS-styled web pages? Choose as many answers as you see fit. Use JavaScript to enhance styling Provide alternative text for images Remove all animation Use sufficient color contrast Ensure proper keyboard navigation Use clear and concise headings Submit answers error_outline An error occurred when grading the quiz. Please try again.