Exam 3: Cascading Style Sheets (CSS)

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

To match an element, an ID selector matches the element's:

Free
(Multiple Choice)
4.8/5
(42)
Correct Answer:
Verified

B

The __________ property specifies the width of the area on the interior of an element's border.

Free
(Short Answer)
4.8/5
(33)
Correct Answer:
Verified

<code>padding</code>

Normally, you should try to separate web page content code from CSS code.

Free
(True/False)
4.9/5
(36)
Correct Answer:
Verified

True

What is the default value for the border-style property?

(Multiple Choice)
4.8/5
(28)

The ______ element is a generic block element that does not provide any special meaning by itself.

(Short Answer)
4.8/5
(29)

If you specify an element at the left of a selector, that's an example of a(n) ______ selector.

(Short Answer)
4.8/5
(38)

To draw a line through an element's text, you should use which of the following property-value pairs?

(Multiple Choice)
4.8/5
(37)

Which CSS property is the small-caps value associated with?

(Multiple Choice)
4.8/5
(32)

When applied to a <code>p</code> element, the <code>text-align: justify</code> property-value pair causes the paragraph's text to be right aligned with the right edge of the p element's container.

(True/False)
4.9/5
(35)

The font shorthand property incorporates granular font sub-properties. What character goes between the values for those sub-properties?

(Multiple Choice)
4.9/5
(31)

Which of the following is the hexadecimal-format RGB value for white?

(Multiple Choice)
4.8/5
(35)

If you apply the opacity property as part of a CSS rule, it will affect the opacity for:

(Multiple Choice)
4.8/5
(40)

If you want to apply the same formatting feature(s) to more than one type of element, you can implement that with one CSS rule, where the element types appear at the left, separated by:

(Multiple Choice)
4.9/5
(38)

Provide a class selector rule that displays matching elements with italicized text. For your class selector, use italics as the class attribute value.

(Short Answer)
4.9/5
(29)

Which CSS property is the bold value associated with?

(Multiple Choice)
5.0/5
(38)

A generic font name should go at the left of a font-family list of font names.

(True/False)
4.7/5
(37)

Coding conventions suggest positioning the style container (with CSS rules) at the top of the web page's body container.

(True/False)
4.9/5
(39)

Suppose that a CSS rule uses the selector q.dark. The rule matches elements whose type is "dark" and whose class attribute has a value of "q".

(True/False)
4.8/5
(40)

An <code>id</code> attribute's value must be unique within a particular web page.

(True/False)
4.9/5
(37)

The text-indent property specifies the size of the indentation of all of the lines in a block of text.

(True/False)
4.7/5
(34)
Showing 1 - 20 of 29
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)