【CSS】リンクテキストの下線部を消す

構文

[highlight_css]text-decoration: none;[/highlight_css]

説明

aタグのtext-decorationプロパティにnoneを設定することで、下線部を削除することができる。

使用例

HTML
[highlight_css]
Google
[/highlight_css]
CSS
[highlight_css]a {
text-decoration: none;
}[/highlight_css]

結果
Google

CSS

Posted by phi30973