mirror of
https://gitlab.com/tutorial-java-rafa-munoz/tutorial-java-2024-25/LMSGI-2024-25.git
synced 2025-11-09 18:03:06 +01:00
feat(ch 3): added
This commit is contained in:
22
Unidad_03_HTML/HTML/007-ejemplo-elemento-style.html
Normal file
22
Unidad_03_HTML/HTML/007-ejemplo-elemento-style.html
Normal file
@@ -0,0 +1,22 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@100&display=swap" rel="stylesheet">
|
||||
<title>Mi primera página web</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<style type="text/css">
|
||||
body {
|
||||
margin: 50px;
|
||||
padding: 50px;
|
||||
background: #60cca89f;
|
||||
font-family: 'Roboto', sans-serif;
|
||||
font-size: 11pt;
|
||||
color: #FFFFFF
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>El texto dentro de body debería tener: margen superior, inferior, izquierdo y derecho de 50 px; un color azul de fondo;
|
||||
tipo de letra sans-serif; tamaño de letra 11 puntos; y color de letra blanco.</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user