April 05
Prof. Ismael H. F. Santos -  ismael@tecgraf.puc-rio.br                                                          2
Por que CSS ?
nStyle sheet embutida no cabecalho do .html
n<html>
n   <head>
n<style type="text/css">
n <!--
n        body {color: red}
n        h1 {color: black}
n -->
n</style>
n   </head>
n   <body>
n      ...
n   </body>
n</html>
n
nDiretamente em cada elemento do documento -  inline style:
nqualquer elemento, exceto <html>, pode ter um estilo associado
n<p style="color: green">Este é um parágrafo.</p>