<p id="p1">Lorem ipsum dolor sit amet consectetur.</p>

<p id="p2">Lorem ipsum dolor sit amet consectetur.</p>

<p id="p3">Lorem ipsum dolor sit amet consectetur.</p>
#p1 {
    text-decoration-line: underline;
}

#p2 {
    text-decoration-line: overline;
}

#p3 {
    text-decoration-line: line-through;
}
Run Pen

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.