<!DOCTYPE hmtl>
<html>
<head>
<title>CSS: Selectors</title>
</head>
<link href="css/4_Web_Page.css" type="text/css"
rel="stylesheet" />
<link href="css/6_Web_Page.css" type="text/css"
rel="stylesheet" />
<link href="css/7_Web_Page.css" type="text/css"
rel="stylesheet" />
<link href="css/8_Web_Page.css" type="text/css"
rel="stylesheet" />
<body>
<h1>Potatoes</h1>
<p id="intro">There are <i>dozens</i> of different<b> potatoes</b> verienties.</p>
<p>They are usually described as early. second early and maincorp potatoes.</p>
<br/>
<h1>ID Exercise</h1>
<p id="cambio">this is a paragaraph with style </p>
<p>this is a non-style paragaraph</p>
<br/>
<h1 class="cambio">class exercise</h1>
<p class="cambio">this is a paragaraph with style </p>
<p>this is a non-style paragaraph</p>
<br/>
<div class="page">
<h1>Potatoes</h1>
<p>There are dozens of different potatoes verienties.</p>
<p>They are usually described as early. second early and maincorp potatoes.</p>
</div>
</body>
</html>
<!DOCTYPE css>
* {
font-family: Arial, Verdana, sans-serif;}
h1 {
font-family: "Courier New", monospace;}
i{
color: green;}
i{
color: red;}
b{
color: pink;}
p b {
color: blue !important;}
p b{
color: violet;}
p#intro{
font-size: 100%;}
p{
font-size: 75%;}
<!DOCTYPE css>
#cambio{
color:#ff0000;
font-size: 2em;
}
<html>
<head>
<title>CSS: Selectors</title>
</head>
<link href="css/4_Web_Page.css" type="text/css"
rel="stylesheet" />
<link href="css/6_Web_Page.css" type="text/css"
rel="stylesheet" />
<link href="css/7_Web_Page.css" type="text/css"
rel="stylesheet" />
<link href="css/8_Web_Page.css" type="text/css"
rel="stylesheet" />
<body>
<h1>Potatoes</h1>
<p id="intro">There are <i>dozens</i> of different<b> potatoes</b> verienties.</p>
<p>They are usually described as early. second early and maincorp potatoes.</p>
<br/>
<h1>ID Exercise</h1>
<p id="cambio">this is a paragaraph with style </p>
<p>this is a non-style paragaraph</p>
<br/>
<h1 class="cambio">class exercise</h1>
<p class="cambio">this is a paragaraph with style </p>
<p>this is a non-style paragaraph</p>
<br/>
<div class="page">
<h1>Potatoes</h1>
<p>There are dozens of different potatoes verienties.</p>
<p>They are usually described as early. second early and maincorp potatoes.</p>
</div>
</body>
</html>
<!DOCTYPE css>
* {
font-family: Arial, Verdana, sans-serif;}
h1 {
font-family: "Courier New", monospace;}
i{
color: green;}
i{
color: red;}
b{
color: pink;}
p b {
color: blue !important;}
p b{
color: violet;}
p#intro{
font-size: 100%;}
p{
font-size: 75%;}
<!DOCTYPE css>
#cambio{
color:#ff0000;
font-size: 2em;
}
<!DOCTYPE css>
.cambio{
color:#ff0000;
font-size: 2em;
}
<!DOCTYPE css>
body{
font-family: Arial, Verdana, sans-serif;
color: #665544;
padding: 10px;}
.page{
border: 1px solid #665544;
background-color: ##efefef;
padding: inherit;}
Comentarios
Publicar un comentario