Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | ||||
| 4 | 5 | 6 | 7 | 8 | 9 | 10 |
| 11 | 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 | 24 |
| 25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- deletion
- 13305
- Biconnected_Component
- 알고리즘
- Articulation_Point
- red-black tree
- Heap
- 구현
- Pair
- 백준
- function_template
- class_template
- 총정리
- sstream
- data_structure
- c++
- qsort
- Algorithm
- list
- 자료구조
- 문법
- STL
- 5397
- '0'
- Critical_Path_Analysis
- connected_component
- template
- sort
- 예제
- singly Linked List
Archives
- Today
- Total
- Today
- Total
- 방명록
어제의 나보다 성장한 오늘의 나
[HTML] <a> 태그 사용법 본문

오늘은 html에서 많이 사용되는 태그 중 하나인 <a> 태그에 대해서 알아보려고 합니다.
href
하이퍼링크 기능
1) 절대 경로
<a href="http://www.naver.com">A태그</a>


왼쪽의 A태그를 클릭하면 href에 적혀있는 주소로 이동..!
2) 상대 경로
<a href="index.html">A태그</a>

같은 폴더 안에 있는 index.html로 이동


3) 자바스크립트 호출
<a href=”javascript:alert(‘Hello’);”>A태그</a>

감사합니다.
Comments