Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Para ir conociendo CSS vamos a aplicarle color de fondo y color al texto en una
página HTML, para hacerlo utilizaremos las propiedades color y background-
color
Guía:
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="estilos.css">
<title>Mi primera página con CSS</title>
</head>
<body>
<h1>Curso HTML, CSS y Javascript Infotep</h1>
<div class="job-title">Desarrollador Web</div>
<p>Far far away, behind the word mountains, far from the
countries Vokalia and Consonantia, there live the blind texts. Separated
they live in Bookmarksgrove right at the coast of the Semantics, a large
language ocean.</p>
<p>A small river named Duden flows by their place and supplies it
with the necessary regelialia. It is a paradisematic country, in which
roasted parts of sentences fly into your mouth. </p>
<div align="center"><iframe width="560" height="315"
src="https://www.youtube.com/embed/TADyKnxxENg" frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media;
gyroscope; picture-in-picture" allowfullscreen></iframe> </div>
<h2>Información de contacto</h2>
<ul>
<li>Email: <a
href="mailto:jane@example.com">jane@example.com</a></li>
<li>Web: <a href="http://example.com">INFOTEP</a></li>
<li>Tel: 123 45678</li>
</ul>
</body>
</html> <h1> Mis primeros pasos en CSS </h1>
</body>
</html>
h1 {
color: #375e97;
font-size: 2em;
font-family: Georgia, 'Times New Roman', Times, serif;
border-bottom: 1px solid #375e97;
}
h2 {
font-size: 1.5em;
}
.job-title {
color: #999999;
font-weight: bold;
}
a:link, a:visited {
color: #fb6542;
}
a:hover {
text-decoration: none;
}