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 12 Jahre
498
0
1 2 3 4 5 (1)

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

1 Kommentar

over 2 years ago
this is a good quiz, thanks. I've learned more.

ähnlicher Inhalt

Teil B, Kapitel 1.3, Handelsregister
Stefan Kurtenbach
Faust. Der Tragödie zweiter Teil, Fünfter Akt
barbara91
Untersuchung von ganzrationalen Funktionen
Anna Lena
BKF C95 (Fragen der Ziffern 1c, 1d)
Harald Koenig
Unsere Erde - Sonnensystem, Klima, Erdschichten etc.
rezension1
Analysis - Abiturvorbereitung Mathe
Laura Overhoff
Marx - Weber - Geiger - Funktionalistische Schichtungstheorie
Bibische
KORRE VO - Fragenkatalog überarbeitet
Jennifer Riegler
FOST 1 - Erkenntnisgewinnung und Datenerhebung in der Psychologie
Kathy H
Onlinequiz zu MS-4.2 Kapitel_2_Teil_II
Deborah Büscher