Show Output
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Example of CSS text-decoration property</title> <style> a { text-decoration: none; } a:hover { text-decoration: underline; } h1 { text-decoration: overline; } h2 { text-decoration: line-through; } h3 { text-decoration: underline; } h4 { text-decoration: blink; } </style> </head> <body> <h1>This is heading 1</h1> <h2>This is heading 2</h2> <h3>This is heading 3</h3> <h4>This is heading 4</h4> <p>Place your mouse pointer <a href="#">over me!</a></p> <p><strong>Note:</strong> The <code>blink</code> value is not supported in IE, Chrome, or Safari.</p> </body> </html>