Simple HTML CSS Quiz

Simple HTML CSS Quiz

6 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Which values for font-family property is valid?

  1. Times New Roman, serif
  2. “Times New Roman”, serif
  3. Times New Roman; serif;
  4. &quotTimes New Roman”; “serif”;
Question 2 Multiple Choice (Single Answer)

Which property applies a color to text?

  1. text-color
  2. foreground-color
  3. background-color
  4. color
Question 3 Multiple Choice (Single Answer)

In what form are style rules presented?

  1. selector { property: value }
  2. selector { property= value }
  3. selector ( property: value )
  4. selector ( property= value )
Question 4 Multiple Choice (Single Answer)

What does the ID selector do?

  1. Apply the style to a specific element
  2. Apply the style to all the elements
  3. Apply the style to a group of elements
  4. Apply the style to elements of the same type
Question 5 Multiple Choice (Single Answer)

A ___________ consist of a property and a value,

  1. Tag
  2. Attribute
  3. Deceleration
  4. This is H1
  5. h1 {color: red;}
Question 6 Multiple Choice (Single Answer)

Fill in the following:

  1. selector
  2. attribute
  3. property
  4. decleration