-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathejercicio.html
More file actions
58 lines (35 loc) · 913 Bytes
/
ejercicio.html
File metadata and controls
58 lines (35 loc) · 913 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<!DOCTYPE html>
<head>
<title>Box Model</title>
<style>
.titulo{
color: black;
background-color: blueviolet;
border: 5px dotted greenyellow;
width: 500px;
height: 70px;
margin:auto
}
h2{
color: blue;
width: 80px;
border: 5px solid #000000;
}
h3{
color: yellowgreen;
}
h4{
color:aqua
}
</style>
</head>
<body>
<h1 class="titulo"> Comprender la diferencia entre padding, border y margin</h1><br>
<h2>Border</h2><br>
Es la linea que encierra el contenido y el padding
<h3>Margin</h3><br>
Separacion opcional existente entre la caja y el reto de las cajas adyacentes
<h4>Padding</h4><br>
Es el relleno, es decir el espacio libre opcional entre el contenido y el borde
</body>
</html>