CSS MCQs Quiz Test For NTS CSS Exams Papers

Computer Software for language with Quiz Test and MCQs Solved with Answers. Why learn programming language you know that is used to write any software coding. All other programming languages MCQs are also here. Now, CSS Web language MCQs are here defined that is read by browsers. All important computer languages MCQs are solved here.



You Scored:

Ranking:





CSS Questions Answers Solved MCQs For Test




1. The ------------ selector is used to specify a style for a single, unique element?

Text

Id (Answer)

Bit

Class

 

2. The ------------ property specifies which sides of an element other floating elements are not allowed?

Float

Both A and B above

Cleared

Clear (Answer)

 

3. Which of the following defines 1% of viewport height?

px

vw

vmin

vh (Answer)

 

4. The --------- property is mostly used to remove underline from links?

text-decoration (Answer)

text-deco

text-trans

text-transformation

 

5. Which of the following property is used to add or subtract space between the words of a sentence?

Direction

Color

Word-spacing (Answer)

Letter-spacing

 

6. Which of the following statements is/are true?

Hiding an element can be done by setting the display property to none

Both A and B above (Answer)

Hiding an element can be done by setting visibility property to hidden

Hiding an element can be done by setting block property to hidden

 

7. The ----------- property specifies the stack order of an element?

z-index (Answer)

d-index

s-index

x-index

 

8. Which of the below is the (Answer) way to set a font size?

h2{font-size:200;}

both a and b above (Answer)

h2{font-size:200%;}

h2{font-size:200px;}

 

9. The font-size value can be an absolute, or relative size?

False

True (Answer)

 

10. To specify table border in CSS, ------------ property is used?

tb-border

table-border

tbl-border

border (Answer)

 

11. --------- property can be used to Increase or decrease the space between words?

Both b and c above

space

word-spacing (Answer)

word-space

 

12. Which of the following ways below is (Answer) to write a CSS?

p {color:red; text-align:center;} (Answer)

p {color:red; text-align:center};

p {color:red; text-align:center}

p (color:red;text-align:center;)

 

13. Which of the following statements is TRUE for CSS?

Both A and B above

An external style sheet is ideal when the style is applied to many pages (Answer)

An inline style sheet should be used when a single document has a unique style

An external style sheet can be written in HTML

 

14. In CSS True Class is ----------?

.classname
*classname
$classname
None of these

 

15. In CSS True ID is --------------?

$IDname
*IDname
#IDname
None of These