<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Ejercicio de selectores</title>
<style>
#fila1 {color: teal;}
#fila2 {color: red;}
#fila3 {color: blue;}
#fila4 {color: orange;}
#fila5 {color: purple;}
#fila6 {color: olive;}
#fila7 {color: fuchsia;}
#fila8 {color: green;}
td + td {background-color: red;}
td + td + td {background-color: green;}
td + td + td + td {background-color: blue;}
</style>
</head>
<body>
<table border="1">
<tr id="fila1"><td>teal</td><td>teal</td><td>teal</td><td>teal</td></tr>
<tr id="fila2"><td>red</td><td>red</td><td>red</td><td>red</td></tr>
<tr id="fila3"><td>blue</td><td>blue</td><td>blue</td><td>blue</td></tr>
<tr id="fila4"><td>orange</td><td>orange</td><td>orange</td><td>orange</td></tr>
<tr id="fila5"><td>purple</td><td>purple</td><td>purple</td><td>purple</td></tr>
<tr id="fila6"><td>olive</td><td>olive</td><td>olive</td><td>olive</td></tr>
<tr id="fila7"><td>fuchsia</td><td>fuchsia</td><td>fuchsia</td><td>fuchsia</td></tr>
<tr id="fila8"><td>green</td><td>green</td><td>green</td><td>green</td></tr>
</table>
</body>
</html>
Suscribirse a:
Enviar comentarios (Atom)
2ª Parte Módulo 3 Examen
1) En CSS, desde el interior hacia afuera de un elemento, ¿cuál es el orden correcto del modelo de caja? content, padding, border, margin 2)...
-
Blog creado para el curso de introducción al desarrollo web impartido por Sergio Luján Mora.
-
CERN. The birth of the web. http://home.web.cern.ch/topics/birth-web . Computer History Museum. Internet History 1962 to 1992. http://ww...
-
1) En CSS, desde el interior hacia afuera de un elemento, ¿cuál es el orden correcto del modelo de caja? content, padding, border, margin 2)...
No hay comentarios:
Publicar un comentario