How to decorate...LOGIN

How to decorate text

Example analysis:

The text-decoration attribute specifies the decoration added to the text.

The modifications that can be set are:

● Underline: Define a line under the text.​

●overline: Define a line on the text.

● Line-through: Define a line that passes under the text.​

●blink: Define blinking text.

#Note: The modified color is set by the "color" attribute.

Next Section
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>php中文网(php.cn)</title> <style> h1 {text-decoration:overline;} h2 {text-decoration:line-through;} h3 {text-decoration:underline;} </style> </head> <body> <h1>This is heading 1</h1> <h2>This is heading 2</h2> <h3>This is heading 3</h3> </body> </html>
submitReset Code
ChapterCourseware