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 9년 전 조회 1,953
CSS 9년 전 조회 2,392
CSS 9년 전 조회 2,437
CSS 9년 전 조회 2,424
CSS 9년 전 조회 2,246
CSS 9년 전 조회 1,985
CSS 9년 전 조회 2,462
CSS 9년 전 조회 1,798
CSS 9년 전 조회 1,887
CSS 9년 전 조회 1,990
CSS 9년 전 조회 2,618
CSS 9년 전 조회 2,678
CSS 9년 전 조회 2,048
CSS 9년 전 조회 2,528
CSS 9년 전 조회 2,079
CSS 9년 전 조회 2,116
CSS 9년 전 조회 2,025
CSS 9년 전 조회 1,736
CSS 9년 전 조회 1,786
CSS 9년 전 조회 3,314
CSS 9년 전 조회 2,316
CSS 9년 전 조회 1,928
CSS 9년 전 조회 2,357
CSS 9년 전 조회 2,395
CSS 9년 전 조회 2,618
CSS 9년 전 조회 1,875
CSS 9년 전 조회 2,733
CSS 9년 전 조회 2,038
CSS 9년 전 조회 2,126
CSS 9년 전 조회 2,227