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

Characters in "King Lear"
eleanor.gregory
Mapa Mental - Como Criar um Mapa Mental
miminoma
Pythagorean Theorem Quiz
Selam H
IB Economics SL: Microeconomics
Han Zhang
Realidad De Nuestra Identidad Cultural
53831
GCSE AQA Biology 2 Cells & Diffusion
Lilac Potato
AS Biology Unit 1
lilli.atkin
PSYA1 - attachment, AQA psychology
T W
Carbohydrates
Julia Romanów
Contract Law
sherhui94
2PR101 1.test - 4. část
Nikola Truong