CSS Box Model and Positioning Quiz

Descripción

HTML and CSS Test sobre CSS Box Model and Positioning Quiz, creado por adam.corkett el 15/05/2013.
adam.corkett
Test por adam.corkett, actualizado hace más de 1 año
adam.corkett
Creado por adam.corkett hace más de 11 años
491
0

Resumen del Recurso

Pregunta 1

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

Pregunta 2

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

Pregunta 3

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

Pregunta 4

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

Pregunta 5

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

Pregunta 6

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

Pregunta 7

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

Pregunta 8

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

Pregunta 9

Pregunta
What is meant by document flow
Respuesta
  • 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

Pregunta 10

Pregunta
What is meant by a compound selector?
Respuesta
  • A HTML element that is embedded within another element.
  • A complicated reference to an element in a page.
Mostrar resumen completo Ocultar resumen completo

Similar

Prepara la Selectividad
Diego Santos
Test de Matemáticas para el GMAT (en Inglés)
Diego Santos
INGLES PRONOMBRES 73
Pedro Fernández
La acentuación de diptongos, triptongos e hiatos
Elisa Tormo Guevara
Rol del profesor y del estudiante dentro del aprendizaje
Rita Serrano
ELECTRICIDAD
Raquel Vargas
FLUJOGRAMA
Elizabeth Alvare
Diapositivas
Samuel Flores
Recursos de Biología para Selectividad
Diego Santos
Asma bronquial en el niño
sergio.correa08
PRESENT SIMPLE 1
Silvia Francisco Llorente