Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
Linux Professional Institute logo

LPI Web Development Essentials

Domain 3Objective 2

033.2 CSS Selectors and Style Application (weight: 3) WEB-DEVELOPMENT-ESSENTIALS Practice Questions (Page 11)

Part of the 033 CSS Content Styling domain, which makes up ~25% of our current practice bank. Linux Professional Institute does not publish an official question count, but from its 60-minute exam (~25–40 total, ~6–10 in this domain), expect 2–3 from this objective — we provide 55 practice questions to prepare you well beyond it. (estimate)

55questions here
11free pages
10concepts

Questions 51–55

  1. 51application · medium

    A table has rows with alternating background colors. The developer wants to style every even row (2nd, 4th, 6th...) with a light gray background. The table is inside a div with class 'data-table'. Which selector correctly targets only the even rows?

    Select an answer first
  2. 52application · medium

    A developer wants to add a decorative icon before each link in a list without modifying the HTML. The icon is a Unicode character '→'. Which CSS rule achieves this?

    Select an answer first
  3. 53application · medium

    A stylesheet has two rules for the same element: .btn { color: blue; } and .btn.primary { color: green; }. The element has class='btn primary'. Which color will be applied, and why?

    Select an answer first
  4. 54application · medium

    A developer sets the font-family on the body element. They want a specific paragraph to use the browser's default font instead of inheriting the body's font. Which CSS declaration should they use on that paragraph?

    Select an answer first
  5. 55application · easy

    A developer has the following CSS rules for a paragraph with id='intro' and class='highlight': p { color: black; } .highlight { color: red; } #intro { color: blue; } Which color will the paragraph display?

    Select an answer first
Finished these 5 questions?

Review the revealed explanations, or continue through the curriculum.

Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by Linux Professional Institute. “WEB-DEVELOPMENT-ESSENTIALS” is a trademark of its owner, used for identification only.