Intro
a 태그의 속성중 target이 어떤 뜻인지 궁금했다!
target
target은 링크를 클릭할 때 창을 어떻게 열지 결정해준다.
Syntax
<a target="_blank|_self|_parent|_top|framename">
Attribute Values
- _blank : Opens the linked document in a new window or tab
- _self : Opens the linked document in the same frame as it was clicked (this is default)
- _parent : Opens the linked document in the parent frame
- _top : Opens the linked document in the full body of the window
- framename : Opens the linked document in the named iframe
https://crivius.tistory.com/8
https://www.w3schools.com/tags/att_a_target.asp