Warning:
This wiki has been archived and is now read-only.
Elements/input/hidden
From HTML Wiki
Contents
The hidden state represents a value that is not intended to be examined or manipulated by the user.
Point
- If the name attribute is present and has a value that is a case-sensitive match for the string "_charset_", then the element's value attribute must be omitted.
HTML Attributes
name
= string
Gives the name of the input element.
value
= string
Gives the default value of the input element.
Examples
Example A
[try it]:
<input type="hidden" name="example" value="data1"> <input type="submit" value="submit">
HTML Reference
The HTML5 specification defines the Hidden state in 4.10.7.1.1 HIDDEN STATE.