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에서 해주시기 바랍니다.
| 번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|---|
| 797 | HTML | 8년 전 | 1707 | ||
| 796 | HTML | 8년 전 | 1519 | ||
| 795 | HTML | 8년 전 | 3302 | ||
| 794 | 기타 | 8년 전 | 2246 | ||
| 793 | HTML | 8년 전 | 3752 | ||
| 792 | HTML | 8년 전 | 1850 | ||
| 791 | 반응형 | 9년 전 | 2556 | ||
| 790 | HTML | 9년 전 | 10035 | ||
| 789 | HTML | 9년 전 | 5741 | ||
| 788 | CSS | 9년 전 | 2488 | ||
| 787 | 반응형 | 9년 전 | 3264 | ||
| 786 | 웹접근성 | 9년 전 | 3454 | ||
| 785 | 웹접근성 | 9년 전 | 2379 | ||
| 784 | 기타 | 9년 전 | 2387 | ||
| 783 | CSS | 9년 전 | 2240 | ||
| 782 | CSS | 9년 전 | 2412 | ||
| 781 | CSS | 9년 전 | 3945 | ||
| 780 | 반응형 | 9년 전 | 4300 | ||
| 779 | CSS | 9년 전 | 3148 | ||
| 778 | 반응형 | 9년 전 | 3280 | ||
| 777 | 반응형 | 9년 전 | 7636 | ||
| 776 | CSS | 9년 전 | 4778 | ||
| 775 | CSS | 9년 전 | 5386 | ||
| 774 | CSS | 9년 전 | 4610 | ||
| 773 | 반응형 | 9년 전 | 3597 | ||
| 772 | CSS | 9년 전 | 2985 | ||
| 771 | 웹접근성 | 9년 전 | 3527 | ||
| 770 | HTML | 9년 전 | 3738 | ||
| 769 | HTML | 9년 전 | 2373 | ||
| 768 | 9년 전 | 2399 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기