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 about 11 years ago
481
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

Quiz Geral
miminoma
Bayonet Charge flashcards
katiehumphrey
GCSE English Literature: Of Mice and Men
Andrea Leyden
Themes in Lord of the Flies
lowri_luxton
Physics
Holly Bamford
OCR AS CHEMISTRY A DEFINITIONS
awesome.lois
The Circulatory System
Shane Buckley
GCSE Biology - Homeostasis and Classification Flashcards
Beth Coiley
Creating Mind Maps with GoConqr
Sarah Egan
Present Simple Vs Present Continuous
Luis Alcaraz
ASSD & PSBD QUESTION 2018 200
Dhiraj Tamang