Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Ejercicio HTML | Eduardo</title>
<link href="src/main.css" rel="stylesheet" type="text/css">
</head>
<body>
<h1 class="foto">Bienvenido a mi página web!</h1>
<h2>Este es un encabezado con h2 y sirve como ejemplo.</h2>
<h3>Y este es un encabezado usando h3</h3>
<p>Este es un ejemplo de un párrafo.</p>
<p>Y aquí se añade otro párrafo.</p>
</body>
</html>
Binary file added src/foto.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 24 additions & 0 deletions src/main.css
Original file line number Diff line number Diff line change
@@ -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");
}