door Remi » 10 apr 2006 15:44
Dat het al in het document staat
[code="html"]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>ietst</title>
// van hier
<style type="text/css">
<!--
.style1 {
color: #FF6633;
font-size: 16px;
font-family: "Courier New", Courier, monospace;
}
.style2 {
color: #339999;
font-size: x-small;
font-style: italic;
font-family: Arial, Helvetica, sans-serif;
}
.style3 {
color: #FFCC00;
font-size: xx-large;
}
-->
</style>
// tot hier
</head>
<body>
<p class="style1">Zoiets</p>
<p class="style2">ofzo</p>
<p class="style3">maar zo kan natuurlijk ook</p>
</body>
</html>[/code]
Of extern
[code="html"]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>ietst</title>
// van hier
<link href="stylesheet.css" rel="stylesheet" type="text/css" />
// tot hier
</head>
<body>
<p class="style1">Zoiets</p>
<p class="style2">ofzo</p>
<p class="style3">maar zo kan natuurlijk ook</p>
</body>
</html>[/code]