CSS Links Text Decoration

CSS Links  Text Decoration

 

이 text-decoration속성은 주로 링크에서 밑줄을 제거하는 데 사용됩니다.

 

 

a:link {

    text-decoration: none;

}

 

a:visited {

    text-decoration: none;

}

 

a:hover {

    text-decoration: underline;

}

 

a:active {

    text-decoration: underline;

}

 

587ef6e2978cbd8808c9c77a5b2713e2_1487956574_625.png
 

 

<!DOCTYPE html>

<html>

<head>

<style>

a:link {

    text-decoration: none;

}

 

a:visited {

    text-decoration: none;

}

 

a:hover {

    text-decoration: underline;

}

 

a:active {

    text-decoration: underline;

}

</style>

</head>

<body>

 

<p><b><a href="default.asp" target="_blank">This is a link</a></b></p>

<p><b>Note:</b> a:hover MUST come after a:link and a:visited in the CSS definition in order to be effective.</p>

<p><b>Note:</b> a:active MUST come after a:hover in the CSS definition in order to be effective.</p>

 

</body>

</html>


|
댓글을 작성하시려면 로그인이 필요합니다. 로그인

퍼블리셔팁

퍼블리싱과 관련된 유용한 정보를 공유하세요. 질문은 상단의 QA에서 해주시기 바랍니다.

+
분류 제목 글쓴이 날짜 조회
CSS 8년 전 조회 1,764
CSS 8년 전 조회 2,193
CSS 8년 전 조회 2,253
CSS 8년 전 조회 2,239
CSS 8년 전 조회 2,051
CSS 8년 전 조회 1,790
CSS 8년 전 조회 2,291
CSS 8년 전 조회 1,610
CSS 8년 전 조회 1,691
CSS 8년 전 조회 1,826
CSS 8년 전 조회 2,415
CSS 8년 전 조회 2,481
CSS 8년 전 조회 1,856
CSS 8년 전 조회 2,322
CSS 8년 전 조회 1,879
CSS 8년 전 조회 1,919
CSS 8년 전 조회 1,857
CSS 8년 전 조회 1,536
CSS 8년 전 조회 1,590
CSS 8년 전 조회 3,151
CSS 8년 전 조회 2,147
CSS 8년 전 조회 1,744
CSS 8년 전 조회 2,167
CSS 8년 전 조회 2,204
CSS 8년 전 조회 2,413
CSS 8년 전 조회 1,692
CSS 8년 전 조회 2,544
CSS 8년 전 조회 1,845
CSS 8년 전 조회 1,925
CSS 8년 전 조회 2,016
🐛 버그신고