<!DOCTYPE HTML>
<html>
<head>
<meta=charset="utf-8" />
<title>Erase una vez HTML</title>
<link href="miestilo.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<h1>Erase una vez HTML</h1>
<h2>El padre</h2>
<p>El padre de la Web, <strong>Tim Berners-Lee</strong>, es también el padre del lenguaje, <em>Hypertext Markup Language</em>.</p>
<h2>La Estandarización</h2>
<p>El lenguaje HTML está estandarizado por el W3C, el <em>World Wide Web Consortium</em>.</p>
<p>La versión actual de HTML es la 5, aunque no está completada.</p>
<p>Se espera que esté terminada en el <strong>año 2014</strong>.</p>
</body>
</html>
Y ESTE ES EL ARCHIVO DE MIESTILO.CSS
body{
background-color: #CCC;
color: #333;}
h1,h2 {font-family: Georgia;}
h1 {font-size: 3em;}
h2 {font-size; 2em;}
p {font-family: Arial, Helvetica, Sans Serif;}
CONCLUSIÓN: ESTA ES UNA MANERA MUY SIMPLE DE EVITAR EL FAMOSO ACOPLAMIENTO ENTRE HTML Y CSS
No hay comentarios.:
Publicar un comentario