Skip to main content

Css Text_ Borders And Images — Part 1 MCQs with Explanations

Practice high-yield Programming & Software Development MCQs on Css Text_ Borders And Images — 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

Which of the following CSS property defines the different properties of all four sides of an element’s border in a single declaration?

Question 2 of 40
★ FPSC ★ PPSC

Identify the CSS property defining bottom-left corner shape of the border?

Question 3 of 40
★ FPSC ★ PPSC

Select the CSS property that sets the width of an element’s bottom border?

Question 4 of 40
★ FPSC ★ PPSC

Which of the following CSS property border-color property sets the color of an element’s four borders?

Question 5 of 40
★ FPSC ★ PPSC

Choose the CSS property that can be used for collapsing the borders between table cells?

Question 6 of 40
★ FPSC ★ PPSC

Which CSS property can be used to set the image as border instead of the border style?

Question 7 of 40
★ FPSC ★ PPSC

In how many way border-image-width CSS property can be defined?

Question 8 of 40
★ FPSC ★ PPSC

Which of the following is not an appropriate value for border-collapse?

Question 9 of 40
★ FPSC ★ PPSC

Which of the following specifies the distance between the borders of adjacent cells?

Question 10 of 40
★ FPSC ★ PPSC

Which of the following property defines the border-width, border-style and border-color of an element’s top border in a single declaration?

Question 11 of 40
★ FPSC ★ PPSC

Which of the following property is used to draw a line around elements outside the borders?

Question 12 of 40
★ FPSC ★ PPSC

Choose the option that correctly specifies the output of the following CSS. span { border: 1px solid red ; outline: green dotted thick ; }

Question 13 of 40
★ FPSC ★ PPSC

Which of the following property specifies the color of an outline?

Question 14 of 40
★ FPSC ★ PPSC

Identify the outline property that specifies the amount of area extended beyond the border box.

Question 15 of 40
★ FPSC ★ PPSC

Which of the following value specifies a dashed outline?

Question 16 of 40
★ FPSC ★ PPSC

Which of the following property specifies the look and design of an outline?

Question 17 of 40
★ FPSC ★ PPSC

Which of the following values specifies a 3D grooved outline?

Question 18 of 40
★ FPSC ★ PPSC

Select the output of the following CSS. div { border-width: 5px ; border-style: dotted solid double dashed ; }

Question 19 of 40
★ FPSC ★ PPSC

Which of the following specifies the width of an outline?

Question 20 of 40
★ FPSC ★ PPSC

Which of the following value specifies a solid outline?

Question 21 of 40
★ FPSC ★ PPSC

The __________ rule makes it possible to define different style rules for different media types in the same stylesheet.

Question 22 of 40
★ FPSC ★ PPSC

____________ types are mutually exclusive in the sense that a user agent can only support one media type when rendering a document.

Question 23 of 40
★ FPSC ★ PPSC

If an @media/@import rule contains a malformed media type (not an identifier) then the statement is valid. State true or false.

Question 24 of 40
★ FPSC ★ PPSC

Which of the following property defines in a shorthand form the width, style, and color for the bottom border of an element?

Question 25 of 40
★ FPSC ★ PPSC

Which of the following property sets the width of an element’s bottom border?

Question 26 of 40
★ FPSC ★ PPSC

Which of the following property defines whether table cell borders are connected or separate?

Question 27 of 40
★ FPSC ★ PPSC

Which of the following property defines the style for the right border of an element?

Question 28 of 40
★ FPSC ★ PPSC

Which of the following property defines the color of an element’s top border?

Question 29 of 40
★ FPSC ★ PPSC

Which of the following property sets the width of an element’s complete border?

Question 30 of 40
★ FPSC ★ PPSC

Which of the following property defines the visual style of up to four different sides of a border?

Question 31 of 40
★ FPSC ★ PPSC

Which of the following defines in a shorthand form the width, style, and color for the top border of an element?

Question 32 of 40
★ FPSC ★ PPSC

Which of the following property defines the y (vertical) coordinate for a positioned element, relative to the bottom of the enclosing object or browser window?

Question 33 of 40
★ FPSC ★ PPSC

Which of the following property specifies the placement of an element in relation to floating objects?

Question 34 of 40
★ FPSC ★ PPSC

Which of the following property specifies the transparency of an element?

Question 35 of 40
★ FPSC ★ PPSC

Which of the following property defines the offset from an element’s border and its outline?

Question 36 of 40
★ FPSC ★ PPSC

Which of the following property allows a marquee to be used in the case of a text overflow?

Question 37 of 40
★ FPSC ★ PPSC

Which of the following property defines how content should behave when it exceeds the width of its enclosing element?

Question 38 of 40
★ FPSC ★ PPSC

Which of the following property is used to give a 3-D sense of depth to an element?

Question 39 of 40
★ FPSC ★ PPSC

Which of the following property is used to define whether an element should be resized and, if so, upon what axis?

Question 40 of 40
★ FPSC ★ PPSC

Which of the following property defines the alignment of Ruby text as defined by a <rt> tag, in relation to base text defined by a <ruby> tag?

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