CSS Box Model and Positioning Quiz

Description

HTML and CSS Quiz on CSS Box Model and Positioning Quiz, created by adam.corkett on 15/05/2013.
adam.corkett
Quiz by adam.corkett, updated more than 1 year ago
adam.corkett
Created by adam.corkett over 11 years ago
492
0

Resource summary

Question 1

Question
In a HTML web page an identifier is:
Answer
  • 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

Question
A class can be used to:
Answer
  • 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

Question
What is meant by a rule?
Answer
  • A measurement of an element.
  • A style definition which references a tag, class or identifier.

Question 4

Question
Which is the correct selector for an ID?
Answer
  • .redText{ }
  • #columnLeft{ }
  • body{ }

Question 5

Question
Which is the correct selector for a class?
Answer
  • #contentRight{ }
  • body{ }
  • .redText{ }

Question 6

Question
Which type of positioning would best be used to place an element in a permanent position on an HTML page?
Answer
  • Absolute
  • Relative
  • Fixed

Question 7

Question
Which of the statements best describes the float property of CSS?
Answer
  • 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

Question
Which is the correct description of the box model?
Answer
  • 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

Question
What is meant by document flow
Answer
  • 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

Question
What is meant by a compound selector?
Answer
  • A HTML element that is embedded within another element.
  • A complicated reference to an element in a page.
Show full summary Hide full summary

Similar

BIOLOGY B1 5 AND 6
x_clairey_x
MODE, MEDIAN, MEAN, AND RANGE
Elliot O'Leary
Flashcards de Inglês - Vocabulário Intermédio
miminoma
A Level Chemistry Unit 1 - Organic Chemistry
charlottehyde
AQA A2 Biology Unit 4: Populations
Charlotte Lloyd
The structure of the heart
rachel_w
PHR and SPHR Practice Questions
Elizabeth Rogers8284
The Circulatory System
Johnny Hammer
Chinese HSK -1 Characters Flashcards
ASHISH AWALGAONKAR
Core 1.3 Energy Generation, Storage and Use
T Andrews
AAHI_Card set 3 (Vital sign parameters - Adult)
Tafe Teachers SB