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;
}

<!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에서 해주시기 바랍니다.
| 번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|---|
| 827 | HTML | 8년 전 | 1583 | ||
| 826 | HTML | 8년 전 | 2317 | ||
| 825 | HTML | 8년 전 | 2108 | ||
| 824 | HTML | 8년 전 | 1928 | ||
| 823 | HTML | 8년 전 | 2425 | ||
| 822 | HTML | 8년 전 | 1961 | ||
| 821 | HTML | 8년 전 | 2581 | ||
| 820 | HTML | 8년 전 | 2587 | ||
| 819 | HTML | 8년 전 | 2514 | ||
| 818 | HTML | 8년 전 | 1718 | ||
| 817 | HTML | 8년 전 | 1711 | ||
| 816 | HTML | 8년 전 | 1456 | ||
| 815 | HTML | 8년 전 | 1474 | ||
| 814 | HTML | 8년 전 | 2071 | ||
| 813 | HTML | 8년 전 | 1681 | ||
| 812 | HTML | 8년 전 | 1752 | ||
| 811 | HTML | 8년 전 | 1762 | ||
| 810 | HTML | 8년 전 | 2397 | ||
| 809 | HTML | 8년 전 | 1789 | ||
| 808 | HTML | 8년 전 | 2198 | ||
| 807 | HTML | 8년 전 | 1971 | ||
| 806 | HTML | 8년 전 | 2004 | ||
| 805 | HTML | 8년 전 | 1958 | ||
| 804 | CSS | 8년 전 | 2342 | ||
| 803 | CSS | 8년 전 | 2248 | ||
| 802 | CSS | 8년 전 | 2340 | ||
| 801 | HTML | 8년 전 | 1956 | ||
| 800 | HTML | 8년 전 | 1809 | ||
| 799 | 기타 | 8년 전 | 2370 | ||
| 798 | HTML | 8년 전 | 1998 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기