CSS Box Model and Positioning Quiz

Question 1 of 10

Medal-premium 1

In a HTML web page an identifier is:

Select one of the following:

  • A unique reference to an HTML element.

  • A reference to multiple instances of an HTML element.

  • A unique reference to an HTML page.

Question 2 of 10

Medal-premium 1

A class can be used to:

Select one or more of the following:

  • Style numerous instances of an HTML tag

  • Style any element in an HTML page labelled with the class name

  • Refer to a specific instance of an element.

Question 3 of 10

Medal-premium 1

What is meant by a rule?

Select one of the following:

  • A measurement of an element.

  • A style definition which references a tag, class or identifier.

Question 4 of 10

Medal-premium 1

Which is the correct selector for an ID?

Select one of the following:

  • .redText{

    }

  • #columnLeft{

    }

  • body{

    }

Question 5 of 10

Medal-premium 1

Which is the correct selector for a class?

Select one of the following:

  • #contentRight{

    }

  • body{

    }

  • .redText{

    }

Question 6 of 10

Medal-premium 1

Which type of positioning would best be used to place an element in a permanent position on an HTML page?

Select one of the following:

  • Absolute

  • Relative

  • Fixed

Question 7 of 10

Medal-premium 1

Which of the statements best describes the float property of CSS?

Select one of the following:

  • A floated element is placed next to the previous HTML element if there is enough room, otherwise it is placed underneath.

  • A floated element is positioned at the side of the screen you tell it to, it will stand over the top of other elements sharing the same space.

Question 8 of 10

Medal-premium 1

Which is the correct description of the box model?

Select one of the following:

  • The margin is added to the element, followed by the padding, followed by the border - this affects the overall actual size of the element.

  • The padding is added to the element, followed by the border, followed by the margin - this affects the overall actual size of the element.

Question 9 of 10

Medal-premium 1

What is meant by document flow

Select one of the following:

  • The way the text flows in the page

  • The way the tags are ordered originally in the HTML

  • The way the text flows within a tag

Question 10 of 10

Medal-premium 1

What is meant by a compound selector?

Select one of the following:

  • A HTML element that is embedded within another element.

  • A complicated reference to an element in a page.

Icon_fullscreen

CSS Box Model and Positioning Quiz

adam.corkett
Quiz by , created over 3 years ago

HTML and CSS Quiz on CSS Box Model and Positioning Quiz, created by adam.corkett on 15/05/2013.

Eye 144
Pin 0
Balloon-left 0
Tags
adam.corkett
Created by adam.corkett over 3 years ago
Close