Source Code: (back to article)
<!DOCTYPE html>
<html>
<head>
<title>Titre du document</title>
<style>
div {
max-width: 50%;
background-color: #1c87c9;
}
</style>
</head>
<body>
<h2>Exemple de la propriété max-width</h2>
<div>La largeur maximale de ce texte est définie à 50%.</div>
</body>
</html>