Formular priklad







input type="text"



input type="password"





input type="submit" a input type="reset"







input type="radio"




input type="checkbox"




input type="color"


input type="date"






input type="email"


input type="file"


input type="number"


atributy pre input (Input Restrictions)

checked - Specifies that an input field should be pre-selected when the page loads (for type="checkbox" or type="radio")
disabled - Specifies that an input field should be disabled
max - Specifies the maximum value for an input field
maxlength - Specifies the maximum number of character for an input field
min - Specifies the minimum value for an input field
pattern - Specifies a regular expression to check the input value against
readonly - Specifies that an input field is read only (cannot be changed)
required - Specifies that an input field is required (must be filled out)
size - Specifies the width (in characters) of an input field
step - Specifies the legal number intervals for an input field
value - Specifies the default value for an input field


input type="range"


10 100 + =


input type="tel" https://regexr.com/


input type="url"


Datalist










regularny vyraz input type="text" pattern datum narodenia 2020.12.31 rodne cislo 123456/8888