1) <HTML> <HEAD> <link rel="stylesheet" type="text/css" href="exe1.css"> </HEAD> <BODY> <TABLE> <TR> <TD>A </TD> <TD>B </TD> <TD>C </TD> </TR> <TR> <TD>A1 </TD> <TD>B1 </TD> <TD>C1 </TD> </TR> </TABLE> </BODY> </html>
–
CSS:
table { border:2px solid black; margin:auto; } td, tr{ border:1px solid #f02485; text-align:center; width:150px; height:50px; vertical-align:middle; text-align:center;}
–
2)
<html> <head> <link rel=stylesheet type="text/css" href="test7.css"> <body> <H1>Le titre <EM>est</EM> important !</H1><br> <p> les feuilles de styles</p><br> <p> css </p> </body> </html>
–
CSS:
BODY { color: black; background: url(2.gif) white; } p { color:blue; font-family=arial; font-size:18; }