HTML Editor
<!DOCTYPE html> <html lang="en-US"> <head> <style> p{ font-size: 19px; } p:nth-child(3){ text-decoration-line: none; } p:nth-child(5){ text-decoration-line: underline; } p:nth-child(7){ text-decoration-line: overline; } p:nth-child(9){ text-decoration-line: line-through; } </style> </head> <body> <h1>CSS text-decoration-line Property</h1> <h2>text-decoration-line: none;</h2> <p>This is a paragraph.</p> <h2>text-decoration-line: underline;</h2> <p>This is a paragraph.</p> <h2>text-decoration-line: overline;</h2> <p>This is a paragraph.</p> <h2>text-decoration-line: line-through;</h2> <p>This is a paragraph.</p> </body> </html>
OUTPUT
×

Save as Private