a:link 스타일에 관해서... 채택완료
위처럼 href 란에 #만 적으면 blue 색깔이 들어갑니다.
그런데, 아래처럼 href 에 특정 주소를 적어넣으면 blue 색깔이 들어가지 않습니다. 왜 그런건가요?
http://www.homzzang.com" target="_blank">http://www.homzzang.com>Home
댓글을 작성하려면 로그인이 필요합니다.
답변 4개
댓글을 작성하려면 로그인이 필요합니다.
11년 전
링크를 이미 방문하였기에 visited스타일이 표시되는것 같습니다. 브라우저를 새로고침하여보셔요.
로그인 후 평가할 수 있습니다
댓글을 작성하려면 로그인이 필요합니다.
답변에 대한 댓글 1개
댓글을 작성하려면 로그인이 필요합니다.
답변에 대한 댓글 1개
�
11년 전
a:link {color: blue; text-decoration: none;} 그냥 있을 땐 파랑
a:visited { text-decoration: none; color: violet;} 방문 했을 경우엔 보라
a:hover { text-decoration: underline; color: red;} 마우스 올려놓을 땐 빨강
a:active { text-decoration: none; background-color:green; color: white; } 클릭했을 땐 녹색 바탕에 흰색 글씨
요론 거 말씀이죠?
위처럼 색상을 주면
hover와 active는 제대로 먹히지만, a:link는 엉뚱한 색상이 출력됩니다. ㅜㅜ
<style>
a:link {color: blue; text-decoration: none;}
a:visited { text-decoration: none; color: violet;}
a:hover { text-decoration: underline; color: red;}
a:active { text-decoration: none; background-color:green; color: white; }
</style>
<a href=http://www.homzzang.com target=_blank>Home</a>
a:visited { text-decoration: none; color: violet;} 방문 했을 경우엔 보라
a:hover { text-decoration: underline; color: red;} 마우스 올려놓을 땐 빨강
a:active { text-decoration: none; background-color:green; color: white; } 클릭했을 땐 녹색 바탕에 흰색 글씨
요론 거 말씀이죠?
위처럼 색상을 주면
hover와 active는 제대로 먹히지만, a:link는 엉뚱한 색상이 출력됩니다. ㅜㅜ
<style>
a:link {color: blue; text-decoration: none;}
a:visited { text-decoration: none; color: violet;}
a:hover { text-decoration: underline; color: red;}
a:active { text-decoration: none; background-color:green; color: white; }
</style>
<a href=http://www.homzzang.com target=_blank>Home</a>
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인전체 질문 목록
채택
채택
답변대기
채택
채택
답변대기
채택
채택
답변대기
답변대기
채택
채택
답변대기
답변대기
채택
채택
채택
답변대기
채택
답변대기