
LPI Web Development Essentials
Domain 3Objective 4
033.4 CSS Box Model and Layout (weight: 2) WEB-DEVELOPMENT-ESSENTIALS Practice Questions (Page 5)
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 34 practice questions to prepare you well beyond it. (estimate)
34questions here
7free pages
9concepts
Questions 21–25
- 21
A page has a long article. The developer wants a table of contents (TOC) that stays visible in the sidebar while the user scrolls through the article, but only while the TOC's containing sidebar is in view. When the user scrolls past the sidebar's bottom edge, the TOC should scroll away with the page. Which `position` value should the TOC use?
Select an answer first - 22
A developer has a grid container with `display: grid` and three columns. Each grid item contains text of varying lengths. The design requires all items to be vertically centered within their grid area. Which property should be set on the grid container?
Select an answer first - 23
An article page has an image floated left. The paragraph that follows the image wraps around it as intended, but the next section heading appears beside the image instead of below it. Which CSS should be applied to the heading to force it to start on a new line below the floated image?
Select an answer first - 24
If an element has a width of 200px, padding of 10px on each side, and a border of 2px on each side, what is the total space it occupies horizontally (excluding margin)?
Select an answer first - 25
What is the purpose of using flexible images in responsive design?
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.