Source Code: (back to article)
<!DOCTYPE html>
<html>
<head>
<title>Titre du document</title>
<style>
div{
text-align: right;
}
p{
text-align: center;
}
</style>
</head>
<body>
<h2>Exemple de la propriété text-align</h2>
<div>Exemple pour la propriété text-align.</div>
<p>Quelque paragraphe par exemple.</p>
</body>
</html>