Alien head

Simple HTML CSS Quiz

Description: Simple HTML CSS Quiz
Number of Questions: 6
Created by:
Tags: css html

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”;

Answer: 2

Which property applies a color to text?

  1. text-color

  2. foreground-color

  3. background-color

  4. color

Answer: 4

In what form are style rules presented?

  1. selector { property: value }

  2. selector { property= value }

  3. selector ( property: value )

  4. selector ( property= value )

Answer: 1

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

Answer: 1

A ___________ consist of a property and a value,

  1. Tag

  2. Attribute

  3. Deceleration

  4. This is H1

  5. h1 {color: red;}

Answer: 3

Fill in the following:

  1. selector

  2. attribute

  3. property

  4. decleration

Answer: 2
+ View questions