Skip to main content

Basic Css — Part 1 MCQs with Explanations

Practice high-yield Programming & Software Development MCQs on Basic Css — Part 1 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

What is css stands for

Question 2 of 40
★ FPSC ★ PPSC

Is it the best way to include H1 heading only one time in the web page. State true or false.

Question 3 of 40
★ FPSC ★ PPSC

Which of the following element is used by the filter property to blur the images?

Question 4 of 40
★ FPSC ★ PPSC

Which of the following function adjust the brightness of an element’s color, for use by the filter property?

Question 5 of 40
★ FPSC ★ PPSC

Which of the following function adjusts the difference between light and dark values, for use by the filter property?

Question 6 of 40
★ FPSC ★ PPSC

Which of the following function converts an element’s color to a shade of gray, for use by the filter property?

Question 7 of 40
★ FPSC ★ PPSC

Which of the following function flips an element’s colors, for use by the filter property?

Question 8 of 40
★ FPSC ★ PPSC

Which of the following function applies a saturation effect to an element’s color, making it appear more or less vivid, for use by the filter property?

Question 9 of 40
★ FPSC ★ PPSC

“font-style comes first than font-weight in font attribute”.State true or false.

Question 10 of 40
★ FPSC ★ PPSC

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

Question 11 of 40
★ FPSC ★ PPSC

What is the CSS Property Equivalent for the align attribute?

Question 12 of 40
★ FPSC ★ PPSC

The first CSS specification to become an official W3C Recommendation is ___________

Question 13 of 40
★ FPSC ★ PPSC

________ first became a Candidate Recommendation on February 25, 2004, but it was reverted to a Working Draft on June 13, 2005 for further review.

Question 14 of 40
★ FPSC ★ PPSC

There is no single, integrated ____________________ because it is split into separate modules.

Question 15 of 40
★ FPSC ★ PPSC

Unlike CSS 2, which is a large single specification defining various features?

Question 16 of 40
★ FPSC ★ PPSC

___________ describes CSS properties to manipulate the position of “ruby”, which are small annotations on top of or next to words, especially common in Chinese and Japanese.

Question 17 of 40
★ FPSC ★ PPSC

___________ has a grammar but unlike traditional (X)HTML it is not defined with a document type definition.

Question 18 of 40
★ FPSC ★ PPSC

What will happen in this case? h1 {color: red text-decoration: underline; font-style: italic;}

Question 19 of 40
★ FPSC ★ PPSC

Which of the following measurement defines a measurement relative to a font’s x-height?

Question 20 of 40
★ FPSC ★ PPSC

Which of the following measurement defines a measurement as a percentage?

Question 21 of 40
★ FPSC ★ PPSC

Which of the following property sets the font size of text?

Question 22 of 40
★ FPSC ★ PPSC

Which of the following property sets a variation of the specified or default font family?

Question 23 of 40
★ FPSC ★ PPSC

Which of the following property defines labels for a list of items?

Question 24 of 40
★ FPSC ★ PPSC

Which of the following property assigns a graphic image to a list item?

Question 25 of 40
★ FPSC ★ PPSC

Which of the following property sets the amount of spacing between letters?

Question 26 of 40
★ FPSC ★ PPSC

Which of the following CSS3 Color Feature can be used as a macro for whatever the current color is?

Question 27 of 40
★ FPSC ★ PPSC

Which of the following CSS3 Color Feature like RGB color but adds an alpha channel value to specify the opacity of the color?

Question 28 of 40
★ FPSC ★ PPSC

Which of the following Color Format is a CSS’s six-digit hexadecimal format is the same as color defined in (X)HTML?

Question 29 of 40
★ FPSC ★ PPSC

Which of the following Color Format are a 17 defined colors under CSS 2.1?

Question 30 of 40
★ FPSC ★ PPSC

Which of the following Color Format is a CSS colors can also be defined using the keyword rgb, followed by three numbers between 0 and 255, contained in parentheses and separated by commas, with no spaces between them?

Question 31 of 40
★ FPSC ★ PPSC

Which of the following is not an Absolute Unit?

Question 32 of 40
★ FPSC ★ PPSC

Which of the following Color Format can also be defined using the keyword rgb, followed by three numbers between 0 and 255, contained in parentheses and separated by commas, with no spaces between them?

Question 33 of 40
★ FPSC ★ PPSC

Which of the following attribute specifies the URL of the linked resource?

Question 34 of 40
★ FPSC ★ PPSC

In css what does h1 can be called as

Question 35 of 40
★ FPSC ★ PPSC

In css what does “color:red” can be called as

Question 36 of 40
★ FPSC ★ PPSC

Which of the following attributes is used to specify elements to bind style rules to?

Question 37 of 40
★ FPSC ★ PPSC

________ selectors, which are used to specify a rule to bind to a particular unique element

Question 38 of 40
★ FPSC ★ PPSC

In css what does “font-size” can be called as

Question 39 of 40
★ FPSC ★ PPSC

_________ selectors, which are used to specify a group of elements

Question 40 of 40
★ FPSC ★ PPSC

__________ implementation that introduced text, list, box, margin, border, color, and background properties.

✓ 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 →