text
English[tekst] American[tɛkst]
n. Text, original text; text, textbook; theme; version
v .Send text message
decoration
英[ˌdekəˈreɪʃn] 美[ˌdɛkəˈreʃən]
n. Decoration; decoration, decoration; decorative pattern, decorative style ;medal
css text-decoration attribute syntax
Function: text-decoration attribute specifies the decoration added to the text.
Description: This attribute allows you to set certain effects on text, such as underlining. If the descendant element does not have its own decorations, the decorations set on the ancestor element will "extend" to the descendant elements. User agents are not required to support blink.
Note: All major browsers support the text-decoration attribute. The attribute value "inherit" is not supported in any version of Internet Explorer (including IE8). The "blink" attribute value is not supported by IE, Chrome, or Safari.
css text-decoration attribute example
<html> <head> <style type="text/css"> h1 {text-decoration: overline} h2 {text-decoration: line-through} h3 {text-decoration: underline} h4 {text-decoration:blink} a {text-decoration: none} </style> </head> <body> <h1>这是标题 1</h1> <h2>这是标题 2</h2> <h3>这是标题 3</h3> <h4>这是标题 4</h4> <p><a href="//m.sbmmt.com/">这是一个链接</a></p> </body> </html>
Click the "Run instance" button to view the online instance