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 fast 11 Jahre
476
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

Das Leben von Nelson Mandela
AntonS
Biologie Zellbiologie
racheltschan89
Informatik
Tom Kühling
Mathe Abiturvorbereitung
JuliaSt
Gedichtsanalyse und Interpretation
Laura Overhoff
Wege, um mit GoConqr Tools zu unterrichten
Elena Koch
ME2 Theorie
Matin Shah
Vektorendefinition
Sinan 2000
EVA - Vorbereitung MC Teil
hans urst
Vetie Tierseuchen 2019
Tropsi B