Source Code: (back to article)
<!DOCTYPE html>
<html>
<head>
<title>Titre du document</title>
<style>
div.t1 {
-webkit-text-decoration-line: none; /* Safari */
text-decoration-line: none;
}
div.t2 {
-webkit-text-decoration-line: underline; /* Safari */
text-decoration-line: underline;
}
div.t3 {
-webkit-text-decoration-line: line-through; /* Safari */
text-decoration-line: line-through;
}
div.t4 {
-webkit-text-decoration-line: overline; /* Safari */
text-decoration-line: overline;
}
</style>
</head>
<body>
<h2>Exemple de la propriété text-decoration-line</h2>
<div class="t1">Le Lorem Ipsum est simplement du faux texte...</div>
<br>
<div class="t2">Le Lorem Ipsum est simplement du faux texte...</div>
<br>
<div class="t3">Le Lorem Ipsum est simplement du faux texte...</div>
<br>
<div class="t4">Le Lorem Ipsum est simplement du faux texte...</div>
</body>
</html>