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
🎉 Set complete! All 40 questions answered.
Question 1 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following function with filter property to create your own sophisticated effects on DOM elements?
Correct Answer: Option C — custom()
Detailed Academic Explanation:
custom() is the correct answer to “Which of the following function with filter property to create your own sophisticated effects on DOM elements”. This question is standard in competitive examination syllabi for Basic Css.
💡Key Conceptual Anchor:Basic Css
Question 2 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following function defines a linear gradient as a CSS image?
Correct Answer: Option D — linear-gradient()
Detailed Academic Explanation:
linear-gradient() is the correct answer to “Which of the following function defines a linear gradient as a CSS image”. This question is standard in competitive examination syllabi for Basic Css.
💡Key Conceptual Anchor:Basic Css
Question 3 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following function two dimensional transformation in matrix format?
Correct Answer: Option A — matrix()
Detailed Academic Explanation:
matrix() is the correct answer to “Which of the following function two dimensional transformation in matrix format”. This question is standard in competitive examination syllabi for Basic Css.
💡Key Conceptual Anchor:Basic Css
Question 4 of 40
★ FPSC
★ PPSC
★ 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?
Correct Answer: Option B — sepia()
Detailed Academic Explanation:
sepia() is the correct answer to “Which of the following function apply a sepia tinge to an element’s color, typical of old photographs, for use by the filter property”. This question is standard in competitive examination syllabi for Basic Css.
💡Key Conceptual Anchor:Basic Css
Question 5 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following value is supposed to be a slightly bolder weight that standard bold in font attribute?
Correct Answer: Option D — dark
Detailed Academic Explanation:
dark is the correct answer to “Which of the following value is supposed to be a slightly bolder weight that standard bold in font attribute”. This question is standard in competitive examination syllabi for Basic Css.
💡Key Conceptual Anchor:Basic Css
Question 6 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following property allows contextual adjustment of inter-glyph spacing, i.e. the spaces between the characters in text?
Correct Answer: Option C — font-kerning
Detailed Academic Explanation:
font-kerning is the correct answer to “Which of the following property allows contextual adjustment of inter-glyph spacing, i.e. the spaces between the characters in text”. This question is standard in competitive examination syllabi for Basic Css.
💡Key Conceptual Anchor:Basic Css
Question 7 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following is not a value for font-style property?
Correct Answer: Option D — none of the above
Detailed Academic Explanation:
none of the above is the correct answer to “Which of the following is not a value for font-style property”. This question is standard in competitive examination syllabi for Basic Css.
💡Key Conceptual Anchor:Basic Css
Question 8 of 40
★ FPSC
★ PPSC
★ 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?
Correct Answer: Option B — font-synthesis
Detailed Academic Explanation:
font-synthesis is the correct answer to “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”. This question is standard in competitive examination syllabi for Basic Css.
💡Key Conceptual Anchor:Basic Css
Question 9 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following selects a normal, or small-caps face from a font family?
Correct Answer: Option D — font-variant
Detailed Academic Explanation:
font-variant is the correct answer to “Which of the following selects a normal, or small-caps face from a font family”. This question is standard in competitive examination syllabi for Basic Css.
💡Key Conceptual Anchor:Basic Css
Question 10 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following is not a appropriate value for font-variant property?
Correct Answer: Option C — large-caps
Detailed Academic Explanation:
large-caps is the correct answer to “Which of the following is not a appropriate value for font-variant property”. This question is standard in competitive examination syllabi for Basic Css.
💡Key Conceptual Anchor:Basic Css
Question 11 of 40
★ FPSC
★ PPSC
★ 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?
Correct Answer: Option D — font-size-adjust
Detailed Academic Explanation:
font-size-adjust is the correct answer to “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”. This question is standard in competitive examination syllabi for Basic Css.
💡Key Conceptual Anchor:Basic Css
Question 12 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following Allows you to expand or condense the widths for a normal, condensed, or expanded font face?
Correct Answer: Option D — none of the mentioned
Detailed Academic Explanation:
none of the mentioned is the correct answer to “Which of the following Allows you to expand or condense the widths for a normal, condensed, or expanded font face”. This question is standard in competitive examination syllabi for Basic Css.
💡Key Conceptual Anchor:Basic Css
Question 13 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following font-size-adjust is value used in calculating the size of the fallback fonts?
Correct Answer: Option B — number
Detailed Academic Explanation:
number is the correct answer to “Which of the following font-size-adjust is value used in calculating the size of the fallback fonts”. This question is standard in competitive examination syllabi for Basic Css.
💡Key Conceptual Anchor:Basic Css
Question 14 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
What is the CSS Extension Prefixes for WebKit?
Correct Answer: Option A — -webkit
Detailed Academic Explanation:
-webkit is the correct answer to “What is the CSS Extension Prefixes for WebKit”. This question is standard in competitive examination syllabi for Basic Css.
💡Key Conceptual Anchor:Basic Css
Question 15 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
What is the latest version of css available?
Correct Answer: Option B — CSS3
Detailed Academic Explanation:
CSS3 is the correct answer to “What is the latest version of css available”. This question is standard in competitive examination syllabi for Basic Css.
💡Key Conceptual Anchor:Basic Css
Question 16 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
What is the CSS Property Equivalent for the attribute <font> ?
Correct Answer: Option B — font-size
Detailed Academic Explanation:
font-size is the correct answer to “What is the CSS Property Equivalent for the attribute <font>”. This question is standard in competitive examination syllabi for Basic Css.
💡Key Conceptual Anchor:Basic Css
Question 17 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
What is the CSS Property Equivalent for the attribute
Correct Answer: Option C — text-decoration:no-text
Detailed Academic Explanation:
text-decoration:no-text is the correct answer to “What is the CSS Property Equivalent for the attribute”. This question is standard in competitive examination syllabi for Basic Css.
💡Key Conceptual Anchor:Basic Css
Question 18 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
What will happen in this case? h1 {color: "green";}
Correct Answer: Option D — nothings happen
Detailed Academic Explanation:
nothings happen is the correct answer to “What will happen in this case? h1 {color: "green";}”. This question is standard in competitive examination syllabi for Basic Css.
💡Key Conceptual Anchor:Basic Css
Question 19 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following is the correct way to applying style to a document?
Correct Answer: Option D — All of the mentioned
Detailed Academic Explanation:
All of the mentioned is the correct answer to “Which of the following is the correct way to applying style to a document”. This question is standard in competitive examination syllabi for Basic Css.
💡Key Conceptual Anchor:Basic Css
Question 20 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
What does screen media type is used for?
Correct Answer: Option C — For use with color computer screens
Detailed Academic Explanation:
For use with color computer screens is the correct answer to “What does screen media type is used for”. This question is standard in competitive examination syllabi for Basic Css.
💡Key Conceptual Anchor:Basic Css
Question 21 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
For Inline Style don’t need to reapply style information throughout the document and outside documents.State true or false.
Correct Answer: Option B — False
Detailed Academic Explanation:
False is the correct answer to “For Inline Style don’t need to reapply style information throughout the document and outside documents.State true or false.”. This question is standard in competitive examination syllabi for Basic Css.
💡Key Conceptual Anchor:Basic Css
Question 22 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
For document-Wide StyleCan easily control style document by document.State true or false.
Correct Answer: Option A — True
Detailed Academic Explanation:
True is the correct answer to “For document-Wide StyleCan easily control style document by document.State true or false.”. This question is standard in competitive examination syllabi for Basic Css.
💡Key Conceptual Anchor:Basic Css
Question 23 of 40
★ FPSC
★ PPSC
★ 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.
Correct Answer: Option A — True
Detailed Academic Explanation:
True is the correct answer to “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.”. This question is standard in competitive examination syllabi for Basic Css.
💡Key Conceptual Anchor:Basic Css
Question 24 of 40
★ FPSC
★ PPSC
★ 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?
Correct Answer: Option C — System Color Names
Detailed Academic Explanation:
System Color Names is the correct answer to “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”. This question is standard in competitive examination syllabi for Basic Css.
💡Key Conceptual Anchor:Basic Css
Question 25 of 40
★ FPSC
★ PPSC
★ 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?
Correct Answer: Option D — HSLa Color
Detailed Academic Explanation:
HSLa Color is the correct answer to “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”. This question is standard in competitive examination syllabi for Basic Css.
💡Key Conceptual Anchor:Basic Css
Question 26 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following Selector selects an element if it’s the only child of its parent with its type?
Correct Answer: Option D — :only-of-type
Detailed Academic Explanation:
:only-of-type is the correct answer to “Which of the following Selector selects an element if it’s the only child of its parent with its type”. This question is standard in competitive examination syllabi for Basic Css.
💡Key Conceptual Anchor:Basic Css
Question 27 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following Selector same as :firstline; changed under CSS3 to make pseudoelements obvious?
Correct Answer: Option D — ::first-line
Detailed Academic Explanation:
::first-line is the correct answer to “Which of the following Selector same as :firstline; changed under CSS3 to make pseudoelements obvious”. This question is standard in competitive examination syllabi for Basic Css.
💡Key Conceptual Anchor:Basic Css
Question 28 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
What does HSL stands for?
Correct Answer: Option C — Hue Saturation Lightness
Detailed Academic Explanation:
Hue Saturation Lightness is the correct answer to “What does HSL stands for”. This question is standard in competitive examination syllabi for Basic Css.
💡Key Conceptual Anchor:Basic Css
Question 29 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following unit represent the viewport’s width?
Correct Answer: Option C — vw
Detailed Academic Explanation:
vw is the correct answer to “Which of the following unit represent the viewport’s width”. This question is standard in competitive examination syllabi for Basic Css.
💡Key Conceptual Anchor:Basic Css
Question 30 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following is not a attribute of the audio element?
Correct Answer: Option C — check
Detailed Academic Explanation:
check is the correct answer to “Which of the following is not a attribute of the audio element”. This question is standard in competitive examination syllabi for Basic Css.
💡Key Conceptual Anchor:Basic Css
Question 31 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following Protocol enables a hyperlink to access a file on the local file system?
Correct Answer: Option C — file
Detailed Academic Explanation:
file is the correct answer to “Which of the following Protocol enables a hyperlink to access a file on the local file system”. This question is standard in competitive examination syllabi for Basic Css.
💡Key Conceptual Anchor:Basic Css
Question 32 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following color has this value #ff0000?
Correct Answer: Option C — red
Detailed Academic Explanation:
red is the correct answer to “Which of the following color has this value #ff0000”. This question is standard in competitive examination syllabi for Basic Css.
💡Key Conceptual Anchor:Basic Css
Question 33 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following is correct about CSS?
Correct Answer: Option D — All of the above
Detailed Academic Explanation:
All of the above is the correct answer to “Which of the following is correct about CSS”. This question is standard in competitive examination syllabi for Basic Css.
💡Key Conceptual Anchor:Basic Css
Question 34 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following is a component of CSS style rule?
Correct Answer: Option D — All of the above
Detailed Academic Explanation:
All of the above is the correct answer to “Which of the following is a component of CSS style rule”. This question is standard in competitive examination syllabi for Basic Css.
💡Key Conceptual Anchor:Basic Css
Question 35 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following selector matches all elements of a type?
Correct Answer: Option A — The Type Selector
Detailed Academic Explanation:
The Type Selector is the correct answer to “Which of the following selector matches all elements of a type”. This question is standard in competitive examination syllabi for Basic Css.
💡Key Conceptual Anchor:Basic Css
Question 36 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following selector matches a particular element only when it lies inside a particular element?
Correct Answer: Option C — The Descendant Selector
Detailed Academic Explanation:
The Descendant Selector is the correct answer to “Which of the following selector matches a particular element only when it lies inside a particular element”. This question is standard in competitive examination syllabi for Basic Css.
💡Key Conceptual Anchor:Basic Css
Question 37 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following selector selects all paragraph elements with a lang attribute?
Correct Answer: Option A — p[lang]
Detailed Academic Explanation:
p[lang] is the correct answer to “Which of the following selector selects all paragraph elements with a lang attribute”. This question is standard in competitive examination syllabi for Basic Css.
💡Key Conceptual Anchor:Basic Css
Question 38 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following defines a measurement as a percentage relative to another value, typically an enclosing element?
Correct Answer: Option A — %
Detailed Academic Explanation:
% is the correct answer to “Which of the following defines a measurement as a percentage relative to another value, typically an enclosing element”. This question is standard in competitive examination syllabi for Basic Css.
💡Key Conceptual Anchor:Basic Css
Question 39 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following defines 1% of viewport height?
Correct Answer: Option B — vh
Detailed Academic Explanation:
vh is the correct answer to “Which of the following defines 1% of viewport height”. This question is standard in competitive examination syllabi for Basic Css.
💡Key Conceptual Anchor:Basic Css
Question 40 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following defines 1% of viewport width?
Correct Answer: Option C — vw
Detailed Academic Explanation:
vw is the correct answer to “Which of the following defines 1% of viewport width”. This question is standard in competitive examination syllabi for Basic Css.
💡Key Conceptual Anchor:Basic Css
✓Link copied to clipboard
Continue Your Practice
Advance Html — Part 1
Master the next curriculum module with 40 exam-standard MCQs.
💡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.