Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
入力が 1 から 100 の間であるかどうかを HTML5 で確認するにはどうすればよいですか?
<input type="numeric" name="count" pattern="[1-9]" />
とを使用minしmaxます。
min
max
<input type="number" name="count" min="1" max="100">
であることに注意してtypeくださいnumber。
type
number