diff --git a/index.html b/index.html index e69de29..d18693d 100644 --- a/index.html +++ b/index.html @@ -0,0 +1,15 @@ + + + + + Ejercicio HTML | Eduardo + + + +

Bienvenido a mi página web!

+

Este es un encabezado con h2 y sirve como ejemplo.

+

Y este es un encabezado usando h3

+

Este es un ejemplo de un párrafo.

+

Y aquí se añade otro párrafo.

+ + \ No newline at end of file diff --git a/src/foto.jpg b/src/foto.jpg new file mode 100644 index 0000000..e3b52d1 Binary files /dev/null and b/src/foto.jpg differ diff --git a/src/main.css b/src/main.css new file mode 100644 index 0000000..2cddff2 --- /dev/null +++ b/src/main.css @@ -0,0 +1,24 @@ +/*hoja de estilo para index.html*/ +p { + color: red; + border-style: dotted; + border-width: 7px; +} +h3 { + color: red; + padding: 30px; + text-align: center; +} +h2 { + background-color: lightblue; + width: 50%; + height: 100px; +} +h1 { + color: yellow; +} +.foto { + width:800px; + height: 491px; + background-image: url("./foto.jpg"); +} \ No newline at end of file