LoginSignup
1
1

More than 3 years have passed since last update.

inputタグにおけるtype属性について

Posted at

inputタグとは

テキスト入力やボタンなどの部品を作成する際に用いる
以下のように入力して用いる
<imput type="○○" name="部品の名前" value="初期値">

部品の形式~type属性~

<input type="属性値">と記述する

属性値 内容
text 1行のテキストボックス
password 入力した内容にマスクがかかる(見えなくする)テキストボックス
radio ラジオボタン
checkbox チェックボックス
file ファイル参照ボタン
hidden 非表示のテキストボックス
submit フォームの実行ボタン
image 画像を使たフォームの実行ボタン
reset リセットボタン
buttun 汎用的なボタン

参考

Chrono Drive

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1