메뉴 건너뛰기

프로그램언어

조회 수 92 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

<a>태그  CSS

<style>

.atag:link{

color: red;

}

.atag:visited{

background-color: gray;

}

.atag:active {

font-size: 20pt;

}

.atag:hover {

color:pink;

}

</style>

</head>

<body>

<a href="#" class="atag"> a태그입니다</a>

</body>

</html>

:link → 방문 전의 링크의 상태

:visited → 한번이라도 방문한 링크의 상태

:active → 클릭하는 순간의 상태

:hover → 마우스 오버시 상태

 

 

링크 밑줄 상태

<style>

.atag{

text-decoration:none;

}

</style>

</head>

<body>

<a href="#" class="atag"> a태그입니다</a>

</body>

text-decoration: none; → 밑줄 지우기

 

text-decoration: dotted underline black; 


  1. CSS3를 이용하여 둥근모서리 박스 만들기

    Date2016.12.22 Views5840
    Read More
  2. CSS/기호/공백/띄어쓰기/<>

    Date2023.01.27 Views82
    Read More
  3. CSS/table/border-collapse/테이블 선 속성

    Date2023.01.27 Views66
    Read More
  4. CSS 미적용, 다르게 적용

    Date2021.03.26 Views196
    Read More
  5. CSS background-repeat 이해하기

    Date2016.12.22 Views4738
    Read More
  6. CSS : 반응형 웹(Responsive Web)

    Date2017.04.14 Views5938
    Read More
  7. CSS / 링크 상태 속성 / <a>태그 CSS / 밑줄 없애기,변경하기

    Date2023.01.27 Views92
    Read More
  8. CSS - position:absolute 가운데, 중앙 정렬하기

    Date2021.03.09 Views371
    Read More
  9. CSS - display : flex를 통한 수직, 수평 정렬하기

    Date2021.03.09 Views428
    Read More
  10. Box CSS

    Date2014.02.27 Views6468
    Read More
  11. background-size 속성

    Date2016.12.23 Views5874
    Read More
  12. <iframe>으로 올린 유투브 동영상 z-index 문제

    Date2015.02.03 Views6644
    Read More
Board Pagination Prev 1 2 Next
/ 2

하단 정보를 입력할 수 있습니다

© k2s0o1d4e0s2i1g5n. All Rights Reserved