CSS Language | 10 Minute‐Test 8


Instruction

  • Total number of questions : 10.
  • Time alloted : 10 minutes.
  • Each question carry 1 mark.
  • No Negative marks
  • DO NOT refresh the page.
  • All the best :-).

1.

Which of the following tag is used to embed css in html page?

A.
<script>
B.
<style>
C.
<css>
D.
<!DOCTYPE html>

Your Answer: Option (Not Answered)

Correct Answer: Option B

Explanation:

None.

2.

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

A.
grayscale()
B.
gradient()
C.
image()
D.
linear-gradient()

Your Answer: Option (Not Answered)

Correct Answer: Option D

Explanation:

None.

3.

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

A.
font-style
B.
font-stretch
C.
font-expand
D.
none of the above

Your Answer: Option (Not Answered)

Correct Answer: Option D

Explanation:

None.

4.

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

A.
CSS level 1
B.
CSS level 2
C.
CSS level 3
D.
CSS level 2.1

Your Answer: Option (Not Answered)

Correct Answer: Option D

Explanation:

CSS level 2 revision 1, often referred to as “CSS 2.1”, fixes errors in CSS 2, removes poorly supported or not fully interoperable features and adds already implemented browser extensions to the specification. To comply with the W3C Process for standardizing technical specifications, CSS 2.1 went back and forth between Working Draft status and Candidate Recommendation status for many years. CSS 2.1 first became a Candidate Recommendation on February 25, 2004, but it was reverted to a Working Draft on June 13, 2005 for further review.

5.

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

A.
True
B.
False
C.
both a) and b)
D.
none of the above

Your Answer: Option (Not Answered)

Correct Answer: Option B

Explanation:

None.

6.

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

A.
list-style-type
B.
list-style-image
C.
list-style
D.
none of the above

Your Answer: Option (Not Answered)

Correct Answer: Option A

Explanation:

list-style-type: disc | circle | square | decimal | decimal-leading-zero

7.

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

A.
@media
B.
:target
C.
::selection
D.
:only-of-type

Your Answer: Option (Not Answered)

Correct Answer: Option D

Explanation:

None.

8.

Which of the following element is used for linking a External Files to the html page?

A.
<script>
B.
<style>
C.
<link>
D.
all of the above

Your Answer: Option (Not Answered)

Correct Answer: Option C

Explanation:

None.

9.

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

A.
all
B.
collapse
C.
inherit
D.
separate

Your Answer: Option (Not Answered)

Correct Answer: Option A

Explanation:

Except option a, all other values can be set to border collapse CSS property.

10.

Which of the following specifies what parts of an element’s content are skipped over when applying any text decoration?

A.
@font-text
B.
font-style
C.
text-skip
D.
text-decoration-skip
Submit your test now to view the Results and Statistics with answer explanation.