Get to know MDN better
このページはコミュニティーの尽力で英語から翻訳されました。MDN Web Docs コミュニティーについてもっと知り、仲間になるにはこちらから。
This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2015年7月.
formEnctype は HTMLInputElement インターフェイスのプロパティで、<input> タグのformEnctype属性がフォーム送信の方法として指定されている場合、サーバーに送信されるコンテンツの MIME タイプです。これは、<input> の formenctype 属性の値を反映します。
このプロパティは、 submit または image 型の <input> 要素でのみ有効です。
この値は、フォームが入力経由で送信された場合、 HTMLFormElement インターフェイスの enctype プロパティを上書きします。このプロパティは取得することも設定することもできます。設定されていない場合、値は空文字列 ("") となります。
文字列です。
| HTML # dom-fs-formenctype |
Enable JavaScript to view this browser compatibility table.
This page was last modified on 2025年4月12日 by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.