
































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

































2026 Edition CSS Practice Exam (Fundamentals, Selectors, Specificity, Box Model, Layout, Responsive Design, Animations, Ethics) - 300 Original Questions with
Exam Overview This original practice exam combines CSS topics: fundamentals, selectors, specificity and the cascade, the box model, layout with Flexbox and Grid, responsive design with media queries, animations, ethics and accessibility, and applied scenarios. It is general educational material, is not an official exam, and does not reproduce books or courses. Browser support changes, so please confirm with current documentation. It is educational only and not legal or accessibility compliance advice. Exam CSS Practice Exam (Fundamentals, Selectors, Specificity, Box Model, Layout, Responsive Design, Animations, Ethics) - 300 Original Questions with Answers Intended for Web developers and designers Number of questions 300 multiple-choice (four options, one best answer) Content areas 9 Suggested time 5 hours (about 60 seconds per question) Suggested passing target 80% or higher (240 of 300) Answer format The correct answer and explanation appear directly after each question
Content area Questions Share of exam Fundamentals 33 11% Selectors 33 11% Specificity 33 11% Box Model 33 11% Layout 33 11% Responsive Design 33 11% Animations 33 11% Ethics and Accessibility 33 11% Applied Scenarios 36 12%
Cover the answer lines with a sheet of paper and attempt each question before checking. Work one content area at a time, or take all questions in one timed sitting to simulate test day. Mark every question you miss or guess on, then reread its explanation and the related reference material. Repeat the missed questions after a few days; aim to explain why each wrong option is wrong.
Dynamics 365 Business Central functional practice (confirm against current official documentation) Note: This is an independent practice resource written to the published content areas for this exam. It is not affiliated with or endorsed by the testing organization, and it does not contain actual exam questions. Laws, codes, fees and guidelines change; confirm current requirements with the official candidate handbook and references. CSS Practice Exam (Fundamentals, Selectors, Specificity, Box Model, Layout, Responsive Design, Animations, Ethics) - 300 Original Questions with
Section 1: Fundamentals
1. CSS: A. Delete B. Hidden C. Cascading Style Sheets that style web pages D. Print Correct answer: C. Cascading Style Sheets that style web pages Explanation: Fnd. 2. HTML: A. Markup that structures a page B. Delete C. Hidden D. Print Correct answer: A. Markup that structures a page Explanation: Fnd. 3. Stylesheet: A. Makes defaults consistent B. File of CSS rules C. Ends a declaration D. Named hex rgb and hsl values Correct answer: B. File of CSS rules Explanation: Fnd. 4. External stylesheet: A. CSS in an elements style attribute B. Notes written between slash star markers C. Named hex rgb and hsl values D. CSS in a separate file linked to a page Correct answer: D. CSS in a separate file linked to a page Explanation: Fnd. 5. Internal stylesheet: A. CSS inside a style element B. Reads a custom property C. Aspect to style such as color D. One percent of viewport width Correct answer: A. CSS inside a style element Explanation: Fnd. CSS Practice Exam (Fundamentals, Selectors, Specificity, Box Model, Layout, Responsive Design, Animations, Ethics) - 300 Original Questions with
6. Inline style: A. Relative to the root font size B. CSS in a separate file linked to a page C. Relative to the elements font size D. CSS in an elements style attribute Correct answer: D. CSS in an elements style attribute Explanation: Fnd. 7. link element: A. Such as color and font-family B. CSS in an elements style attribute C. Connects an external stylesheet D. Aspect to style such as color Correct answer: C. Connects an external stylesheet Explanation: Fnd. 8. Rule: A. Red green blue color B. Selector plus declarations C. Hue saturation lightness color D. Part that chooses elements Correct answer: B. Selector plus declarations Explanation: Fnd. 9. Selector: A. Resets to the default value B. Property and value pair C. Part that chooses elements D. Red green blue color Correct answer: C. Part that chooses elements Explanation: Fnd. 10. Declaration: A. Connects an external stylesheet B. Declarations inside curly braces C. Inherit or initial by property type D. Property and value pair Correct answer: D. Property and value pair Explanation: Fnd. CSS Practice Exam (Fundamentals, Selectors, Specificity, Box Model, Layout, Responsive Design, Animations, Ethics) - 300 Original Questions with
16. Cascade: A. Removes default styles B. Notes written between slash star markers C. Property and value pair D. Rules for resolving conflicts Correct answer: D. Rules for resolving conflicts Explanation: Fnd. 17. Inheritance: A. Relative to the root font size B. Relative to a parent value C. One percent of the smaller viewport side D. Child elements take some parent values Correct answer: D. Child elements take some parent values Explanation: Fnd. 18. Inherited properties: A. Rules for resolving conflicts B. Such as color and font-family C. One percent of viewport width D. Property and value pair Correct answer: B. Such as color and font-family Explanation: Fnd. 19. Non inherited properties: A. Such as margin and border B. Selector plus declarations C. Connects an external stylesheet D. Resets to the default value Correct answer: A. Such as margin and border Explanation: Fnd. 20. inherit keyword: A. Delete B. Hidden C. Forces inheritance D. Print Correct answer: C. Forces inheritance Explanation: Fnd. CSS Practice Exam (Fundamentals, Selectors, Specificity, Box Model, Layout, Responsive Design, Animations, Ethics) - 300 Original Questions with
21. initial keyword: A. Hue saturation lightness color B. Resets to the default value C. Width of the zero character D. Makes defaults consistent Correct answer: B. Resets to the default value Explanation: Fnd. 22. unset keyword: A. Inherit or initial by property type B. Such as margin and border C. Relative to a parent value D. Resets to the default value Correct answer: A. Inherit or initial by property type Explanation: Fnd. 23. revert keyword: A. Relative to a parent value B. Removes default styles C. Such as margin and border D. Returns to the browser style Correct answer: D. Returns to the browser style Explanation: Fnd. 24. Browser default styles: A. Setting for a property B. Rules for resolving conflicts C. User agent stylesheet D. Selector plus declarations Correct answer: C. User agent stylesheet Explanation: Fnd. 25. CSS reset: A. Removes default styles B. Features evolve C. Forces inheritance D. CSS fundamentals Correct answer: A. Removes default styles Explanation: Fnd. CSS Practice Exam (Fundamentals, Selectors, Specificity, Box Model, Layout, Responsive Design, Animations, Ethics) - 300 Original Questions with
31. Percent: A. Relative to a parent value B. Ends a declaration C. Relative to the elements font size D. Declarations inside curly braces Correct answer: A. Relative to a parent value Explanation: Fnd. 32. vw: A. Hue saturation lightness color B. One percent of the smaller viewport side C. CSS in an elements style attribute D. One percent of viewport width Correct answer: D. One percent of viewport width Explanation: Fnd. 33. vh: A. Selector plus declarations B. Makes defaults consistent C. Relative to the root font size D. One percent of viewport height Correct answer: D. One percent of viewport height Explanation: Fnd. CSS Practice Exam (Fundamentals, Selectors, Specificity, Box Model, Layout, Responsive Design, Animations, Ethics) - 300 Original Questions with
Section 2: Selectors
34. Type selector: A. Matches elements by tag B. First line of text C. First letter of text D. Describe purpose not looks Correct answer: A. Matches elements by tag Explanation: Sel. 35. Class selector: A. Uses dollar equals B. Pointer over an element C. Matches class with a dot D. Rarely a concern for typical pages Correct answer: C. Matches class with a dot Explanation: Sel. 36. ID selector: A. First line of text B. Matches id with a hash C. Position among same type D. Greater than sign Correct answer: B. Matches id with a hash Explanation: Sel. 37. Universal selector: A. Matches all elements with a star B. Used with before and after C. Rarely a concern for typical pages D. Like is with zero specificity Correct answer: A. Matches all elements with a star Explanation: Sel. 38. Attribute selector: A. Matches a state B. Input placeholder text C. Matches by attribute D. Position among same type Correct answer: C. Matches by attribute Explanation: Sel. CSS Practice Exam (Fundamentals, Selectors, Specificity, Box Model, Layout, Responsive Design, Animations, Ethics) - 300 Original Questions with
44. Adjacent sibling combinator: A. Delete B. Hidden C. Print D. Plus sign Correct answer: D. Plus sign Explanation: Sel. 45. General sibling combinator: A. Tilde B. Delete C. Hidden D. Print Correct answer: A. Tilde Explanation: Sel. 46. Selector list: A. Space between selectors B. Pointer over an element C. Comma separated selectors D. Element being activated Correct answer: C. Comma separated selectors Explanation: Sel. 47. Pseudo class: A. Matches elements by tag B. Matches a state C. Space between selectors D. Excludes matches Correct answer: B. Matches a state Explanation: Sel. 48. hover pseudo class: A. Inserts content before B. Parent selector based on children C. Space between selectors D. Pointer over an element Correct answer: D. Pointer over an element Explanation: Sel. CSS Practice Exam (Fundamentals, Selectors, Specificity, Box Model, Layout, Responsive Design, Animations, Ethics) - 300 Original Questions with
49. focus pseudo class: A. First letter of text B. Element has focus C. Describe purpose not looks D. Checked inputs Correct answer: B. Element has focus Explanation: Sel. 50. active pseudo class: A. Element being activated B. Inserts content before C. First line of text D. Input placeholder text Correct answer: A. Element being activated Explanation: Sel. 51. visited pseudo class: A. Delete B. Hidden C. Visited link D. Print Correct answer: C. Visited link Explanation: Sel. 52. first-child: A. Matches all elements with a star B. Rarely a concern for typical pages C. First letter of text D. First child of its parent Correct answer: D. First child of its parent Explanation: Sel. 53. last-child: A. First line of text B. First letter of text C. Last child of its parent D. Input placeholder text Correct answer: C. Last child of its parent Explanation: Sel. CSS Practice Exam (Fundamentals, Selectors, Specificity, Box Model, Layout, Responsive Design, Animations, Ethics) - 300 Original Questions with
59. has pseudo class: A. Matches all elements with a star B. Uses star equals C. Matches elements by tag D. Parent selector based on children Correct answer: D. Parent selector based on children Explanation: Sel. 60. checked pseudo class: A. Delete B. Checked inputs C. Hidden D. Print Correct answer: B. Checked inputs Explanation: Sel. 61. disabled pseudo class: A. Delete B. Hidden C. Print D. Disabled controls Correct answer: D. Disabled controls Explanation: Sel. 62. focus-visible: A. Disabled controls B. Uses star equals C. Keyboard focus indicator D. Inserts content before Correct answer: C. Keyboard focus indicator Explanation: Sel. 63. Pseudo element: A. Uses dollar equals B. Matches part of an element C. Inserts content after D. Matches class with a dot Correct answer: B. Matches part of an element Explanation: Sel. CSS Practice Exam (Fundamentals, Selectors, Specificity, Box Model, Layout, Responsive Design, Animations, Ethics) - 300 Original Questions with
64. before pseudo element: A. Inserts content before B. Uses caret equals C. Describe purpose not looks D. Plus sign Correct answer: A. Inserts content before Explanation: Sel. 65. after pseudo element: A. Keyboard focus indicator B. Element being activated C. Inserts content after D. Uses star equals Correct answer: C. Inserts content after Explanation: Sel. 66. first-line: A. Last child of its parent B. First line of text C. Matches part of an element D. Inserts content after Correct answer: B. First line of text Explanation: Sel. CSS Practice Exam (Fundamentals, Selectors, Specificity, Box Model, Layout, Responsive Design, Animations, Ethics) - 300 Original Questions with
72. Type weight: A. Unused rules B. Styles written in JavaScript C. Origin importance specificity order D. Includes pseudo elements Correct answer: D. Includes pseudo elements Explanation: Spe. 73. Universal weight: A. Delete B. Zero C. Hidden D. Print Correct answer: B. Zero Explanation: Spe. 74. Specificity tuple: A. Same names affecting different parts B. Author user or browser styles C. Count of ids classes and types D. Group rules with layer Correct answer: C. Count of ids classes and types Explanation: Spe. 75. Tie breaker: A. Later rule wins when equal B. Set by the user C. Encapsulated styles in web components D. Written by the developer Correct answer: A. Later rule wins when equal Explanation: Spe. 76. Source order: A. Beat layered styles B. A CSS linter C. Same names affecting different parts D. Order of rules in files Correct answer: D. Order of rules in files Explanation: Spe. CSS Practice Exam (Fundamentals, Selectors, Specificity, Box Model, Layout, Responsive Design, Animations, Ethics) - 300 Original Questions with
77. Important flag: A. Overrides normal declarations B. Use browser developer tools C. Unused rules D. Highest normal specificity Correct answer: A. Overrides normal declarations Explanation: Spe. 78. Important risks: A. Highest normal specificity B. Increase specificity or reorder carefully C. Hard to override later D. Automated style checks Correct answer: C. Hard to override later Explanation: Spe. 79. Avoid important: A. Delete B. Use sparingly C. Hidden D. Print Correct answer: B. Use sparingly Explanation: Spe. 80. Cascade layers: A. Directly targeted values beat inherited B. Author user or browser styles C. Limit rules to a component D. Group rules with layer Correct answer: D. Group rules with layer Explanation: Spe. 81. Layer order: A. Often too specific B. Specificity and cascade C. Unused rules D. Later layers win Correct answer: D. Later layers win Explanation: Spe. CSS Practice Exam (Fundamentals, Selectors, Specificity, Box Model, Layout, Responsive Design, Animations, Ethics) - 300 Original Questions with