ユーザ用ツール

サイト用ツール


html:form

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン
前のリビジョン
html:form [2025/10/07 01:32] nullponhtml:form [2025/10/07 15:20] (現在) – [number input] nullpon
行 1: 行 1:
 <markdown> <markdown>
-form+HTML Form 
 + 
 +- https://html.spec.whatwg.org/multipage/forms.html#forms
  
-HTMLのform 
  
 ## email input ## email input
  
-```html+```html5
 <input type="email"> <input type="email">
 ``` ```
行 23: 行 24:
  
 URL入力欄。URLの形式として正しいかバリデーションする。`hoge:`などのように適当なスキームでも通ってしまうのでpattern属性と併用すると良い。 URL入力欄。URLの形式として正しいかバリデーションする。`hoge:`などのように適当なスキームでも通ってしまうのでpattern属性と併用すると良い。
 +
 +
 +```html5
 +<input type="url" pattern="https?://.+">
 +```
  
 ## number input ## number input
  
-数字入力欄。数字であるかバリデーションする。数値ではないので小数は通らない+数字入力欄。数字であるかバリデーションする。
  
 ## tel input ## tel input
行 34: 行 40:
  
 </markdown> </markdown>
 +
 +
html/form.1759800770.txt.gz · 最終更新: by nullpon