text
English[tekst] American[t?kst]
n. テキスト、原文; テキスト、教科書; テーマ; バージョン
v .Send text message
decoration
英[?dek??re??n] 美[?d?k??re??n]
n. 裝飾; 裝飾、裝飾; 裝飾模様、裝飾スタイル ;メダル
css text-decoration屬性 構(gòu)文
関數(shù): text-decoration 屬性は、テキストに追加される裝飾を指定します。
説明: この屬性を使用すると、テキストに下線などの特定の効果を設(shè)定できます。子孫要素に獨(dú)自の裝飾がない場(chǎng)合、祖先要素に設(shè)定された裝飾は子孫要素にも「拡張」されます。ユーザー エージェントはまばたきをサポートする必要はありません。
注: すべての主要なブラウザは text-decoration 屬性をサポートしています。屬性値「inherit」は、Internet Explorer (IE8 を含む) のどのバージョンでもサポートされていません。 「blink」屬性値は、IE、Chrome、または Safari ではサポートされていません。
css text-decoration屬性 例
<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://ipnx.cn/">這是一個(gè)鏈接</a></p> </body> </html>
[インスタンスの実行] ボタンをクリックしてオンライン インスタンスを表示します