Source Code: (back to article)
<!DOCTYPE html>
<html>
<head>
<title>Title of the document</title>
<style>
div {
margin: 20px 0;
}
div.t1 {
-webkit-text-decoration-line: none;
text-decoration-line: none;
}
div.t2 {
-webkit-text-decoration-line: underline;
text-decoration-line: underline;
}
div.t3 {
-webkit-text-decoration-line: line-through;
text-decoration-line: line-through;
}
div.t4 {
-webkit-text-decoration-line: overline;
text-decoration-line: overline;
}
</style>
</head>
<body>
<h2>Text-decoration-line property example</h2>
<div class="t1">
Lorem Ipsum is simply dummy text...
</div>
<div class="t2">
Lorem Ipsum is simply dummy text...
</div>
<div class="t3">
Lorem Ipsum is simply dummy text,,.