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년 전 | 1569 | ||
| 946 | CSS | 8년 전 | 2235 | ||
| 945 | CSS | 8년 전 | 1745 | ||
| 944 | CSS | 8년 전 | 2169 | ||
| 943 | CSS | 8년 전 | 2241 | ||
| 942 | CSS | 8년 전 | 2208 | ||
| 941 | CSS | 8년 전 | 2026 | ||
| 940 | CSS | 8년 전 | 1766 | ||
| 939 | CSS | 8년 전 | 2270 | ||
| 938 | CSS | 8년 전 | 1591 | ||
| 937 | CSS | 8년 전 | 1671 | ||
| 936 | CSS | 8년 전 | 1786 | ||
| 935 | CSS | 8년 전 | 2389 | ||
| 934 | CSS | 8년 전 | 2468 | ||
| 933 | CSS | 8년 전 | 1822 | ||
| 932 | CSS | 8년 전 | 2281 | ||
| 931 | CSS | 8년 전 | 1862 | ||
| 930 | CSS | 8년 전 | 1892 | ||
| 929 | CSS | 8년 전 | 1819 | ||
| 928 | CSS | 8년 전 | 1520 | ||
| 927 | CSS | 8년 전 | 1567 | ||
| 926 | CSS | 8년 전 | 3133 | ||
| 925 | CSS | 8년 전 | 2100 | ||
| 924 | CSS | 8년 전 | 1723 | ||
| 923 | CSS | 8년 전 | 2139 | ||
| 922 | CSS | 8년 전 | 2167 | ||
| 921 | CSS | 8년 전 | 2350 | ||
| 920 | CSS | 8년 전 | 1673 | ||
| 919 | CSS | 8년 전 | 2512 | ||
| 918 | CSS | 8년 전 | 1820 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기