[HTML]Hyper Text를 이용한 문서간의 연결

suyeon·2022년 8월 25일
1

HTML

목록 보기
2/9
post-thumbnail

Hyper Text사용하기

<a href="bts.html">BTS 멤버들</a>

(상대적 경로)

  • hyepr text: 연결할 주소를 지정한다.

<a href="C:\Users\김수연\Desktop\Html_study\study_21.html" target="_blank">BTS 멤버들</a>

(절대적경로)

  • target: 링크를 클릭할 때 창을 어떻게 열지 선정한다.
    target="blank"를 써주었기 때문에 같은 공간에서 생기지 않고 하나 창이 하나 더 생긴다.

예시
file:///C:/Users/%EA%B9%80%EC%88%98%EC%97%B0/Desktop/Html_study/study_36.html

profile
📖개발블로그📖

0개의 댓글