Source Code: (back to article)
<!DOCTYPE html>
<html>
<head>
<title>Заголовок документа</title>
<style>
div.t1 {
text-decoration-line: overline underline;
text-decoration-style: solid;
}
div.t2 {
text-decoration-line: line-through;
text-decoration-style: wavy;
}
div.t3 {
text-decoration-line: overline underline;
text-decoration-style: double;
}
div.t4 {
text-decoration-line: overline;
text-decoration-style: dashed;
}
div.t5 {
text-decoration-line: line-through;
text-decoration-style: dotted;
}
</style>
</head>
<body>
<h2>Пример свойства text-decoration-style</h2>
<div class="t1">Lorem Ipsum - это текст-"рыба", часто используемый в печати и вэб-дизайне.</div>
<br>
<div class="t2">Lorem Ipsum - это текст-"рыба", часто используемый в печати и вэб-дизайне.</div>
<br>
<div class="t3">Lorem Ipsum - это текст-"рыба", часто используемый в печати и вэб-дизайне.</div>
<br>
<div class="t4">Lorem Ipsum - это текст-"рыба", часто используемый в печати и вэб-дизайне.</div>