文字にアンダーラインを引く

<U> タグで引くアンダーラインは、線種を変更したりする事ができません。
アンダーラインの色を変えたり、破線などに変えたりする場合はスタイルシートを利用します。


<SPAN style="border-bottom-style:線の種類;">文字列</SPAN>
<SPAN style="border-bottom-style:dotted;">文字列</SPAN>  文字列

<SPAN style="border-bottom-style:dashed;">文字列</SPAN>  文字列

<SPAN style="border-bottom-style:solid;">文字列</SPAN>    文字列

<SPAN style="border-bottom-style:double;">文字列</SPAN>   文字列

<SPAN style="border-bottom-style:groove;">文字列</SPAN>  文字列

<SPAN style="border-bottom-style:ridge;">文字列</SPAN>    文字列

<SPAN style="border-bottom-style:inset;">文字列</SPAN>    文字列

<SPAN style="border-bottom-style:線の種類;border-bottom-width:線の太さ;">文字列</SPAN>
<SPAN style="border-bottom-style:dotted;border-bottom-width:2;">文字列</SPAN>     文字列

<SPAN style="border-bottom-style:dashed;border-bottom-width:2;">文字列</SPAN>    文字列

<SPAN style="border-bottom-style:solid;border-bottom-width:2;">文字列</SPAN>      文字列

<SPAN style="border-bottom-style:線の種類;border-bottom-color:線の色;">文字列</SPAN>
<SPAN style="border-bottom-style:dotted;border-bottom-color:red;">文字列</SPAN>     文字列

<SPAN style="border-bottom-style:dotted;border-bottom-color:blue;">文字列</SPAN>    文字列

<SPAN style="border-bottom-style:dashed;border-bottom-color:#00ff00;">文字列</SPAN>   文字列

<SPAN style="border-bottom-style:dashed;border-bottom-color:#000000;">文字列</SPAN>  文字列

<SPAN style="border-bottom-style:solid;border-bottom-color:#ffff00;">文字列</SPAN>    文字列

<SPAN style="border-bottom-style:solid;border-bottom-color:#ff00ff;">文字列</SPAN>     文字列