Dia 2
This commit is contained in:
28
Practicas/Practicas HTML/Practica 3/Practica 3.html
Normal file
28
Practicas/Practicas HTML/Practica 3/Practica 3.html
Normal file
@@ -0,0 +1,28 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Ejemplos de lineas horizontales</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p>Línea estándar:</p>
|
||||
<hr>
|
||||
<p>Línea de grosor 5px, que ocupa el 50% de la ventana:</p>
|
||||
<hr size="5" width="50%">
|
||||
<p>Línea de grosor 25px y 50 px de ancho:</p>
|
||||
<hr size="25" width="50">
|
||||
<p>Línea de grosor 10px, que ocupa el 75% de la ventana,color azul
|
||||
y alineada a la izquierda:</p>
|
||||
|
||||
<hr style="width: 75%; height: 10px; background-color: rgb(0, 0, 255); margin-left: 0pt;">
|
||||
|
||||
<p>Línea de grosor 50px, que ocupa el 60% de la ventana, color rojo ,
|
||||
con borde 10px verde y alineada a la derecha:</p>
|
||||
<hr style="border-width: 10px; width: 60%; height: 50px; border-color: rgb(0, 255, 0);
|
||||
background-color: rgb(255, 0, 0); margin-right: 0pt;">
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user