PHP & JavaScript Room :: 設置サンプル

実行結果

text-decoration:none;

text-decoration:underline;

text-decoration:overline;

text-decoration:line-through;

Netscape、FireFox などのブラウザでは、この部分が点滅します。IEではサポートされていません。

ソース

<style type="text/css">
    .deco_none { text-decoration:none; }
    .deco_under { text-decoration:underline; }
    .deco_over { text-decoration:overline; }
    .deco_through { text-decoration:line-through; }
    .deco_blink { text-decoration:blink; font-weight:bold; }
</style>

<p class="deco_none">text-decoration:none;</p>
<p class="deco_under">text-decoration:underline;</p>
<p class="deco_over">text-decoration:overline;</p>
<p class="deco_through">text-decoration:line-through;</p>
<p>Netscape、FireFox などのブラウザでは、<span class="deco_blink">この部分</span>が点滅します。IEではサポートされていません。 </p>

polarized women