¡GoConqr estrena diseño! Cuéntanos qué te parece.

Test

Chapter 2: Cascading Style Sheets

Rebecca Walton 31 preguntas

Hacer el test

Preguntas del test (31)

  1. 1An HTML element defines the _____of a document while the CSS determines the ____
    1. Atitle .... content
    2. Bformatting .... appearance
    3. Ccontent ... appearance
    4. Dappearance....content
  2. 2A CSS definition includes three parts:
    1. Aa selector, a property and a value
    2. Balignment, color, and value
    3. Cred, green and blue
    4. Dselector, color, and value
  3. 3Where in an HTML document is the correct place to refer to an external style sheet?
    1. A<style> and </style>
    2. B<css> and </css>
    3. C<head> and </head>
    4. D<body> and </body>
  4. 4Which of the following measurements is a relative one?
    1. A% and px
    2. Bem and in
    3. Cpx and in
    4. D% and em
  5. 5If you want to define different styles for the same selector and use them in different places, you can use ____ selector.
    1. Anumbering
    2. Bclass
    3. Cdifferent
    4. Dspecial
  6. 6How do you add a background color of red to all h1 elements?
    1. Aall h1{background-color:red;}
    2. Bh1.all{background-color:red;}
    3. Ch1{background-color:red;}
    4. Dbackground-color{h1:red;}
  7. 7How do you select an element with id "myColor"?
    1. AmyColor
    2. B#myColor
    3. C.myColor
    4. D*myColor
  8. 8How do you apply CSS to a group of selectors?
    1. Aseparate each selector with space
    2. Bseparate each selector with a dot
    3. Cseparate each selector with a comma
    4. Dseparate each selector with an asterisk
  9. 9How do you select all p elements inside a div element?
    1. Adiv, p
    2. Bdiv p
    3. Cdiv.p
    4. Ddiv#p
  10. 10How do you select all p elements as a child of a div element?
    1. Adiv, p
    2. Bdiv p
    3. Cdiv. p
    4. Ddiv>p

Información

Descripción
Sanchez, L. (2017). Web Programming with HTML, CSS, Bootstrap, JavaScript, JQuery, PHP, and MySQL . CreateSpace Independent Publishing Platform.
Idioma
English
Visitas
59
Valoración
Aún sin valoraciones
Valora este test
Valora este test

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?