• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 3 fuera de 23 páginas
Examen

HTML & CSS multiple choice (code academy) 100% Solved

Document preview thumbnail
Vista previa 3 fuera de 23 páginas

HTML & CSS multiple choice (code academy) 100% Solved

Vista previa del contenido

HTML & CSS multiple choice (code
academy) 100% Solved
Which of the following z-index values will ensure that the fixed position element appears on top
of the relatively positioned element?



div.navigation {

position: fixed;

background-color: Blue;

z-index: ?

}



div.heading {

position: relative;

z-index: ?

} Correct Ans-2 and 1, respectively.



When offset properties are specified, how will the following property affect the positioning of
the div?



div.container {

position: static;

} Correct Ans-The property will not affect the positioning of the div.

,Where on the page will the div appear?



div.container {

position: absolute;

} Correct Ans-The element will appear in its default position because offset properties have
not been specified.



Which of the following values would place the background image at the bottom left of the div's
background?



div.main {

height: 500px;

width: 500px;

background-image: url("https://www.codecademy.com/images/computer.jpg");

background-repeat: no-repeat;

background-position: ?

} Correct Ans-left bottom



The background-size property accepts two values: cover and contain. What is the difference
between each value? Correct Ans-cover will expand an image to fit its container, whereas
contain will letterbox the image in the container.

, What improvements can be made to the CSS code below, if any?



div.main {

background-image: url("https://www.codecademy.com/images/computer.jpg");

background-repeat: no-repeat;

background-position: right center;

} Correct Ans-Condense all three properties into one by using the background property.



The background image of the div is repeating. Why?



div.main {

height: 500px;

width: 500px;

background-image: url("https://www.codecademy.com/images/computer.jpg");

} Correct Ans-The default behavior of all images is to repeat in the x and y directions.



Which of the following values would stop the background image from repeating?



div.main {

height: 500px;

width: 500px;

background-image: url("https://www.codecademy.com/images/computer.jpg");

Información del documento

Subido en
11 de noviembre de 2024
Número de páginas
23
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas
$14.49

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
StudyLoom01
4.2
(34)
Vendido
137
Seguidores
35
Artículos
6909
Última venta
2 días hace




Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes