A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developer.cdn.mozilla.net/ja/docs/Web/API/HTMLInputElement/type below:

HTMLInputElement: type プãƒãƒ‘ティ - Web API

HTMLInputElement: type プロパティ

Baseline Widely available

type は HTMLInputElement インターフェイスのプロパティで、 <input> 要素を入力する際に許可されるデータの型(数値、日付、メールアドレスなど)を示します。ブラウザーは適切なウィジェットを選択し、ユーザーが有効な値を入力できるように振る舞います。

これは <input> 要素の type を反映します。

値

型を表す文字列です。

取りうる値の一覧はこの属性の入力型の節にあります。

例 HTML
<input id="input1" type="date" />
JavaScript
const inputElement = document.querySelector("#input1");
console.log(inputElement.type); // Output: "date"
仕様書 ブラウザーの互換性 関連情報

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4