Skip to main content

Basic Css — Part 2 MCQs with Explanations

Practice high-yield Programming & Software Development MCQs on Basic Css — Part 2 with worked academic solutions for FPSC, PPSC, NTS, NITB, PTS.

Questions
40
Difficulty Level
Exam-Level
Target Exams
FPSC, PPSC, NTS...
Estimated Time
48 mins
Exam-Level FPSC PPSC NTS NITB PTS
Verified for Commission Syllabus • Oct 14, 2026
40

Verified Practice Questions

Interactive test mode with detailed academic worked solutions

Live Progress | 0/40 answered
✓ 0 correct ✗ 0 wrong 0% score
Question 1 of 40
★ FPSC ★ PPSC

Which of the following function with filter property to create your own sophisticated effects on DOM elements?

Question 2 of 40
★ FPSC ★ PPSC

Which of the following function defines a linear gradient as a CSS image?

Question 3 of 40
★ FPSC ★ PPSC

Which of the following function two dimensional transformation in matrix format?

Question 4 of 40
★ FPSC ★ PPSC

Which of the following function apply a sepia tinge to an element’s color, typical of old photographs, for use by the filter property?

Question 5 of 40
★ FPSC ★ PPSC

Which of the following value is supposed to be a slightly bolder weight that standard bold in font attribute?

Question 6 of 40
★ FPSC ★ PPSC

Which of the following property allows contextual adjustment of inter-glyph spacing, i.e. the spaces between the characters in text?

Question 7 of 40
★ FPSC ★ PPSC

Which of the following is not a value for font-style property?

Question 8 of 40
★ FPSC ★ PPSC

Which of the following value specifies whether the user agent is allowed to synthesize bold or oblique font faces when a font family lacks bold or italic faces?

Question 9 of 40
★ FPSC ★ PPSC

Which of the following selects a normal, or small-caps face from a font family?

Question 10 of 40
★ FPSC ★ PPSC

Which of the following is not a appropriate value for font-variant property?

Question 11 of 40
★ FPSC ★ PPSC

Which of the following property adjusts the font-size of the fallback fonts defined with font-family, so that the x-height is the same no matter what font is used?

Question 12 of 40
★ FPSC ★ PPSC

Which of the following Allows you to expand or condense the widths for a normal, condensed, or expanded font face?

Question 13 of 40
★ FPSC ★ PPSC

Which of the following font-size-adjust is value used in calculating the size of the fallback fonts?

Question 14 of 40
★ FPSC ★ PPSC

What is the CSS Extension Prefixes for WebKit?

Question 15 of 40
★ FPSC ★ PPSC

What is the latest version of css available?

Question 16 of 40
★ FPSC ★ PPSC

What is the CSS Property Equivalent for the attribute <font> ?

Question 17 of 40
★ FPSC ★ PPSC

What is the CSS Property Equivalent for the attribute

Question 18 of 40
★ FPSC ★ PPSC

What will happen in this case? h1 {color: "green";}

Question 19 of 40
★ FPSC ★ PPSC

Which of the following is the correct way to applying style to a document?

Question 20 of 40
★ FPSC ★ PPSC

What does screen media type is used for?

Question 21 of 40
★ FPSC ★ PPSC

For Inline Style don’t need to reapply style information throughout the document and outside documents.State true or false.

Question 22 of 40
★ FPSC ★ PPSC

For document-Wide StyleCan easily control style document by document.State true or false.

Question 23 of 40
★ FPSC ★ PPSC

For External Style Sheets in some cases when @import is used, the browser may cause a rendering “flash” under slow loading conditions.State true or false.

Question 24 of 40
★ FPSC ★ PPSC

Which of the following Color Format is a CSS2 introduced named color keywords which allows Web page colors to be matched to an operating system’s color use?

Question 25 of 40
★ FPSC ★ PPSC

Which of the following Color Format is a CSS3 HSL value with a fourth value to set the alpha channel value for the color to define the opacity of the element?

Question 26 of 40
★ FPSC ★ PPSC

Which of the following Selector selects an element if it’s the only child of its parent with its type?

Question 27 of 40
★ FPSC ★ PPSC

Which of the following Selector same as :firstline; changed under CSS3 to make pseudoelements obvious?

Question 28 of 40
★ FPSC ★ PPSC

What does HSL stands for?

Question 29 of 40
★ FPSC ★ PPSC

Which of the following unit represent the viewport’s width?

Question 30 of 40
★ FPSC ★ PPSC

Which of the following is not a attribute of the audio element?

Question 31 of 40
★ FPSC ★ PPSC

Which of the following Protocol enables a hyperlink to access a file on the local file system?

Question 32 of 40
★ FPSC ★ PPSC

Which of the following color has this value #ff0000?

Question 33 of 40
★ FPSC ★ PPSC

Which of the following is correct about CSS?

Question 34 of 40
★ FPSC ★ PPSC

Which of the following is a component of CSS style rule?

Question 35 of 40
★ FPSC ★ PPSC

Which of the following selector matches all elements of a type?

Question 36 of 40
★ FPSC ★ PPSC

Which of the following selector matches a particular element only when it lies inside a particular element?

Question 37 of 40
★ FPSC ★ PPSC

Which of the following selector selects all paragraph elements with a lang attribute?

Question 38 of 40
★ FPSC ★ PPSC

Which of the following defines a measurement as a percentage relative to another value, typically an enclosing element?

Question 39 of 40
★ FPSC ★ PPSC

Which of the following defines 1% of viewport height?

Question 40 of 40
★ FPSC ★ PPSC

Which of the following defines 1% of viewport width?

✓ Link copied to clipboard
Continue Your Practice

Advance Html — Part 1

Master the next curriculum module with 40 exam-standard MCQs.

Next Practice Set →

💡 Examiner's Advisory for Programming & Software Development

In competitive commission exams (FPSC, PPSC, KPPSC, SPSC, CSS, PMS), questions are frequently phrased with distractor options designed to catch rote learners. Whenever you answer an MCQ, read the Detailed Academic Explanation and Conceptual Anchor to understand why the remaining options are incorrect.

More Modules in Programming & Software Development

View All →
📚

Study Guides

Topic summaries and syllabus breakdown

Explore Guides →
🎯

Complete Library

Search through 78,000+ verified MCQs

Browse Library →
📱

Mobile App

Offline mock tests and instant bookmarks

Get Mobile App →