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에서 해주시기 바랍니다.
| 번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|---|
| 947 | CSS | 8년 전 | 1566 | ||
| 946 | CSS | 8년 전 | 2233 | ||
| 945 | CSS | 8년 전 | 1744 | ||
| 944 | CSS | 8년 전 | 2168 | ||
| 943 | CSS | 8년 전 | 2239 | ||
| 942 | CSS | 8년 전 | 2208 | ||
| 941 | CSS | 8년 전 | 2024 | ||
| 940 | CSS | 8년 전 | 1765 | ||
| 939 | CSS | 8년 전 | 2269 | ||
| 938 | CSS | 8년 전 | 1588 | ||
| 937 | CSS | 8년 전 | 1667 | ||
| 936 | CSS | 8년 전 | 1784 | ||
| 935 | CSS | 8년 전 | 2387 | ||
| 934 | CSS | 8년 전 | 2466 | ||
| 933 | CSS | 8년 전 | 1819 | ||
| 932 | CSS | 8년 전 | 2280 | ||
| 931 | CSS | 8년 전 | 1860 | ||
| 930 | CSS | 8년 전 | 1891 | ||
| 929 | CSS | 8년 전 | 1818 | ||
| 928 | CSS | 8년 전 | 1519 | ||
| 927 | CSS | 8년 전 | 1562 | ||
| 926 | CSS | 8년 전 | 3131 | ||
| 925 | CSS | 8년 전 | 2098 | ||
| 924 | CSS | 8년 전 | 1720 | ||
| 923 | CSS | 8년 전 | 2134 | ||
| 922 | CSS | 8년 전 | 2165 | ||
| 921 | CSS | 8년 전 | 2348 | ||
| 920 | CSS | 8년 전 | 1671 | ||
| 919 | CSS | 8년 전 | 2511 | ||
| 918 | CSS | 8년 전 | 1819 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기