CSS Box Model and Positioning Quiz

Beschreibung

HTML and CSS Quiz am CSS Box Model and Positioning Quiz, erstellt von adam.corkett am 15/05/2013.
adam.corkett
Quiz von adam.corkett, aktualisiert more than 1 year ago
adam.corkett
Erstellt von adam.corkett vor etwa 11 Jahre
481
0

Zusammenfassung der Ressource

Frage 1

Frage
In a HTML web page an identifier is:
Antworten
  • A unique reference to an HTML element.
  • A reference to multiple instances of an HTML element.
  • A unique reference to an HTML page.

Frage 2

Frage
A class can be used to:
Antworten
  • 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.

Frage 3

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

Frage 4

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

Frage 5

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

Frage 6

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

Frage 7

Frage
Which of the statements best describes the float property of CSS?
Antworten
  • 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.

Frage 8

Frage
Which is the correct description of the box model?
Antworten
  • 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.

Frage 9

Frage
What is meant by document flow
Antworten
  • 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

Frage 10

Frage
What is meant by a compound selector?
Antworten
  • A HTML element that is embedded within another element.
  • A complicated reference to an element in a page.
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

Der menschliche Körper
JohannesK
Verdauung
Cassibodua
Öff. Recht - Streitigkeiten Verwaltungsrecht AT
myJurazone
Zivilrecht - Streitigkeiten BGB AT
myJurazone
PuKw Step 6 - Fragen aus der VO/Literatur
frau planlos
Analysis - Abiturvorbereitung Mathe
Laura Overhoff
Bio-Sortiment
Sarah Huber
GPSY ALPS
jennifertittmann
FOST 4 - Inferenzstatistik 2 und qualitative Methoden
Kathy H
Vetie Allgemeine Pathologie Altfragen2016
Nele Unger
Vetie Immunologie
Katrin Harles