If it is not specified, the default value is 2. If it is specified, it must be a positive integer. The number of visible text lines for the control. This attribute specifies that the user must fill in a value before submitting a form. The value of a read-only control is still submitted with the form. Unlike the disabled attribute, the readonly attribute does not prevent the user from clicking or selecting in the control. This Boolean attribute indicates that the user cannot modify the value of the control. Note: Placeholders should only be used to show an example of the type of data that should be entered into a form they are not a substitute for a proper element tied to the input. Carriage returns or line-feeds within the placeholder text must be treated as line breaks when rendering the hint. nameĪ hint to the user of what can be entered in the control. The minimum number of characters (UTF-16 code units) required that the user should enter. If this value isn't specified, the user can enter an unlimited number of characters. The maximum number of characters (UTF-16 code units) that the user can enter. This attribute enables you to place elements anywhere within a document, not just as descendants of form elements. If this attribute is not specified, the element must be a descendant of a form element. The value of the attribute must be the id of a form element in the same document. The form element that the element is associated with (its "form owner"). If this attribute is not specified, the control inherits its setting from the containing element, for example if there is no containing element when the disabled attribute is set, the control is enabled. This Boolean attribute indicates that the user cannot interact with the control. If it is not specified, the default value is 20. The visible width of the text control, in average character widths. Only one form-associated element in a document can have this attribute specified. This Boolean attribute lets you specify that a form control should have input focus when the page loads. ![]() offĭisable automatic spelling correction and text substitutions. Permitted values are: onĮnable automatic spelling correction and text substitutions. autocorrect Non-standardĪ string which indicates whether to activate automatic spelling correction and processing of text substitutions (if any are configured) while the user is editing this textarea. For more information, see the autocomplete attribute in. ![]() The form owner is either the element that this element is a descendant of or the form element whose id is specified by the form attribute of the input element. If the autocomplete attribute is not specified on a element, then the browser uses the autocomplete attribute value of the element's form owner.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |