Exercice : ligne de code à entrer :
<!DOCTYPE html PUBLIC « -//W3C//DTD XHTML 1.0 Strict//EN » « http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd »>
<html xmlns= »http://www.w3.org/1999/xhtml » xml:lang= »fr » lang= »fr »>
<head>
<title>Ma première page de test</title>
<meta http-equiv= »Content-Type » content= »text/html; charset=iso-8859-1″ />
</head>
<body>
<h2>Page de test</h2>
<p>
Cette page contient <strong>uniquement</strong> du code (X)HTML.<br />
Voici quelques petits tests que vous pourrez prolonger pour apprendre le langage HTML :
</p>
<ul>
<li style= »color: blue; »>Texte en bleu</li>
<li style= »color: red; »>Texte en rouge</li>
<li style= »color: green; »>Texte en vert</li>
</ul>
</body>
</html>