Movatterモバイル変換


[0]ホーム

URL:


  1. 개발자를 위한 웹 기술
  2. Web API
  3. Document
  4. contentType

This page was translated from English by the community.Learn more and join the MDN Web Docs community.

View in EnglishAlways switch to English

Document: contentType property

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2018년 4월.

Document.contentType 은 document가 렌더링 되는 MIME 타입을 반환하는 읽기 전용 속성입니다.Document.contentType은 HTTP 헤더나 그 외에 MIME 정보 출처에서 나올 수 있으며 브라우저나 확장 프로그램에서 수행하는 자동 타입 변환의 영향을 받을 수 있습니다.

참고 :이 속성은<meta>에 영향을 받지 않습니다.

contentType은 읽기 전용 속성입니다.

명세서

Specification
DOM
# ref-for-dom-document-contenttype①

브라우저 호환성

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2026 Movatter.jp