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,902
CSS 8년 전 조회 2,338
CSS 8년 전 조회 2,362
CSS 8년 전 조회 2,381
CSS 8년 전 조회 2,188
CSS 8년 전 조회 1,929
CSS 8년 전 조회 2,390
CSS 8년 전 조회 1,743
CSS 8년 전 조회 1,828
CSS 8년 전 조회 1,921
CSS 8년 전 조회 2,556
CSS 8년 전 조회 2,623
CSS 8년 전 조회 1,989
CSS 8년 전 조회 2,473
CSS 8년 전 조회 1,995
CSS 8년 전 조회 2,059
CSS 8년 전 조회 1,944
CSS 8년 전 조회 1,683
CSS 8년 전 조회 1,729
CSS 9년 전 조회 3,254
CSS 9년 전 조회 2,248
CSS 9년 전 조회 1,864
CSS 9년 전 조회 2,305
CSS 9년 전 조회 2,347
CSS 9년 전 조회 2,564
CSS 9년 전 조회 1,795
CSS 9년 전 조회 2,686
CSS 9년 전 조회 1,987
CSS 9년 전 조회 2,072
CSS 9년 전 조회 2,156