Arquivos para a tag: exemplo

Desenvolvido na aula de CSS 1.0 seletores – Turma U1

13 maio, 2009 (20:03) | aulas | Por: admin

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
<style type="text/css">
p, div { background: red; }
.c1 { color: yellow; }
#p2 {font-size: xx-large;}
p em { background: green; } /* todos os em dentro de p*/
a:link { font-size: xx-small; background: orange; }
a:visited { font-size: xx-large; background: white; }
a:active { font-size: medium; background: black;}
p:first-letter { font-size: 60px; [...]

Exemplo trabalhado em Sala Turma V – Seletores

12 maio, 2009 (20:13) | aulas | Por: admin

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
<style type="text/css">
/* Seletor Elemento */
p, div {
color: red;
background: white;
}
.c1 { color: green; background: yellow; }
#p1 { font-size:xx-large; }
/* altere todos os em filhos (dentro) de #p1 */
#p1 em { background: white; }
/* link quando a pagina eh visitada e o link
* não foi clicado [...]