본문 바로가기
WEB CookBook/HTML

HTML에서 링크걸기 a 태그

by 쵸빵닷컴 2012. 6. 29.
반응형
HTML <a>태그


<a> 태그 의미

<a> : Anchor(닻)

일반용어 :

닻이란 배를 한 곳에 머물게 하기 위하여 줄을 매어 물 밑바닥으로 가라앉히는 갈고리가 달린 제구이다. 철이나 강철로 만들며, 배에 묶여 있는 닻줄이라는 로프나 쇠사슬의 끝에 달려 있다.

용어설명 출처 http://ko.wikipedia.org


http://w3schools.com/html5/tag_a.asp


<a> 태그 사용 결과



<a> 태그 사용 방법

HTML 코드

<!DOCTYPE html>

<html>

  <head><title></title></head>

  <body>

<a href="http://chobbang.com" target="_blank">Chobbang.com</a>

  </body>

</html>


comment.

<a> 태그의 속성(attributes)인 href(hypertext reference)을 이용하여 다른 링크로 연결한다.

반응형

댓글