HTML <base> 대상 속성
예시
페이지의 모든 하이퍼링크 및 양식에 대한 기본 대상 지정:
<head>
<base target="_blank">
</head>
정의 및 사용
속성 은 target
페이지의 모든 하이퍼링크 및 양식에 대한 기본 대상을 지정합니다.
target
이 속성은 각 하이퍼링크/양식에 대한 속성을 사용하여 재정의할 수 있습니다 .
브라우저 지원
Attribute | |||||
---|---|---|---|---|---|
target | Yes | Yes | Yes | Yes | Yes |
통사론
<base target="_blank|_self|_parent|_top">
속성 값
Value | Description |
---|---|
_blank | Opens the link in a new window or tab |
_self | Default. Opens the link in the same frame as it was clicked |
_parent | Opens the link in the parent frame |
_top | Opens the link in the full body of the window |
❮ HTML <base> 태그