HTML <a> 유형 속성
예시
type 속성은 연결된 문서의 미디어 유형을 지정합니다.
<a href="https://www.w3schools.com" type="text/html">W3Schools</a>
정의 및 사용
type
속성은 링크된 문서의 인터넷 미디어 유형(이전에는 MIME 유형이라고 함)을 지정합니다 .
href
이 속성은 속성이 설정된 경우에만 사용됩니다 .
참고: 이 속성은 순전히 권고 사항입니다.
브라우저 지원
Attribute | |||||
---|---|---|---|---|---|
type | Yes | Yes | Yes | Yes | Yes |
통사론
<a type="media_type">
속성 값
Value | Description |
---|---|
media_type | The Internet media type of the linked document. Look at IANA Media Types for a complete list of standard media types. |
❮ HTML <a> 태그