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>這是標(biāo)題 1</h1> <h2>這是標(biāo)題 2</h2> <h3>這是標(biāo)題 3</h3> <h4>這是標(biāo)題 4</h4> <p><a href="http://miracleart.cn/">這是一個(gè)鏈接</a></p> </body> </html>
Click the "Run instance" button to view the online instance