Class Input
The input element represents a form control that allows users to input data. It is a void element that can take many different forms depending on the type attribute, including text fields, checkboxes, radio buttons, file uploads, and more. The input element is one of the most versatile and commonly used form controls in HTML.
Examples:
   
The following convenience methods are provided for constructing instances of this bean:
See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionclass attribute.accept attribute.accesskey attribute.alt attribute.autocomplete(String value) autocomplete attribute.autofocus attribute.checked attribute.contenteditable(Object value) contenteditable attribute.dir attribute.dirname attribute.disabled attribute.form attribute.formaction(String value) formaction attribute.formenctype(String value) formenctype attribute.formmethod(String value) formmethod attribute.formnovalidate(String value) formnovalidate attribute.formtarget(String value) formtarget attribute.height attribute.hidden attribute.id attribute.inputmode attribute.lang attribute.list attribute.max attribute.maxlength attribute.min attribute.minlength attribute.multiple attribute.name attribute.onabort attribute.onblur attribute.oncancel attribute.oncanplay attribute.oncanplaythrough(String value) oncanplaythrough attribute.onchange attribute.onclick attribute.oncuechange(String value) oncuechange attribute.ondblclick(String value) ondblclick attribute.ondurationchange(String value) ondurationchange attribute.onemptied attribute.onended attribute.onerror attribute.onfocus attribute.oninput attribute.oninvalid attribute.onkeydown attribute.onkeypress(String value) onkeypress attribute.onkeyup attribute.onload attribute.onloadeddata(String value) onloadeddata attribute.onloadedmetadata(String value) onloadedmetadata attribute.onloadstart(String value) onloadstart attribute.onmousedown(String value) onmousedown attribute.onmouseenter(String value) onmouseenter attribute.onmouseleave(String value) onmouseleave attribute.onmousemove(String value) onmousemove attribute.onmouseout(String value) onmouseout attribute.onmouseover(String value) onmouseover attribute.onmouseup attribute.onmousewheel(String value) onmousewheel attribute.onpause attribute.onplay attribute.onplaying attribute.onprogress(String value) onprogress attribute.onratechange(String value) onratechange attribute.onreset attribute.onresize attribute.onscroll attribute.onseeked attribute.onseeking attribute.onselect attribute.onshow attribute.onstalled attribute.onsubmit attribute.onsuspend attribute.ontimeupdate(String value) ontimeupdate attribute.ontoggle attribute.onvolumechange(String value) onvolumechange attribute.onwaiting attribute.pattern attribute.placeholder(String value) placeholder attribute.readonly(boolean value) readonly attribute.readonly attribute.required attribute.size attribute.spellcheck(Object value) spellcheck attribute.src attribute.step attribute.style attribute.tabindex attribute.title attribute.translate attribute.type attribute.value attribute.width attribute.Methods inherited from class org.apache.juneau.bean.html5.HtmlElementattr, attrUri, deminimize, getAttr, getAttr, getAttrs, setAttrs, toString
- 
Constructor Details- 
Inputpublic Input()Creates an emptyInputelement.
- 
InputCreates anInputelement with the specifiedtype(String)attribute.- Parameters:
- type- The- type(String)attribute.
 
 
- 
- 
Method Details- 
acceptaccept attribute.Specifies which file types the file input should accept. Used with type="file" .Examples: - "image/*" - Accept all image files
- ".pdf,.doc,.docx" - Accept specific file extensions
- "image/png,image/jpeg" - Accept specific MIME types
 - Parameters:
- accept- File type restrictions for file uploads.
- Returns:
- This object.
 
- 
altalt attribute.Alternative text for image submit buttons. Used with type="image" to provide accessible text when the image cannot be displayed.- Parameters:
- alt- Alternative text for image submit buttons.
- Returns:
- This object.
 
- 
autocompleteautocomplete attribute.Controls whether the browser can automatically complete the input field. Common values: - "on" - Allow autocomplete (default)
- "off" - Disable autocomplete
- "name" - Full name
- "email" - Email address
- "username" - Username or login
- "current-password" - Current password
- "new-password" - New password
- "tel" - Telephone number
- "url" - URL
- "address-line1" - Street address
- "country" - Country name
- "postal-code" - Postal code
 - Parameters:
- autocomplete- Autocomplete hint for the input field.
- Returns:
- This object.
 
- 
autofocusautofocus attribute.Automatically focuses the form control when the page loads. Only one element per page should have this attribute. 
- 
checkedchecked attribute.Whether the command or control is checked. This attribute uses deminimized values: - false - Attribute is not added
- true - Attribute is added as- "checked" 
- Other values - Passed through as-is
 
- 
dirnamedirname attribute.Specifies the name of a hidden form field that will be submitted along with the input value, containing the text direction (ltr or rtl) of the input content. This is useful for forms that need to preserve text direction information when submitted. The hidden field will contain either "ltr" or "rtl" based on the input's direction. - Parameters:
- dirname- The name of the hidden field for directionality information.
- Returns:
- This object.
 
- 
disableddisabled attribute.Whether the form control is disabled. This attribute uses deminimized values: - false - Attribute is not added
- true - Attribute is added as- "disabled" 
- Other values - Passed through as-is
 
- 
formform attribute.Associates the input with a form element by specifying the form's ID. This allows the input to be placed outside the form element while still being part of the form. The value should match the ID of a form element in the same document. - Parameters:
- form- The ID of the form element to associate with this input.
- Returns:
- This object.
 
- 
formactionformaction attribute.URL to use for form submission. - Parameters:
- formaction- The new value for this attribute.
- Returns:
- This object.
 
- 
formenctypeformenctype attribute.Form data set encoding type to use for form submission. - Parameters:
- formenctype- The new value for this attribute.
- Returns:
- This object.
 
- 
formmethodformmethod attribute.HTTP method to use for form submission. - Parameters:
- formmethod- The new value for this attribute.
- Returns:
- This object.
 
- 
formnovalidateformnovalidate attribute.Bypass form control validation for form submission. - Parameters:
- formnovalidate- The new value for this attribute.
- Returns:
- This object.
 
- 
formtargetformtarget attribute.Browsing context for form submission. - Parameters:
- formtarget- The new value for this attribute.
- Returns:
- This object.
 
- 
heightheight attribute.Vertical dimension. 
- 
inputmodeinputmode attribute.Provides a hint to browsers about the type of virtual keyboard to display on mobile devices. Possible values: - "none" - No virtual keyboard
- "text" - Standard text keyboard (default)
- "tel" - Numeric keypad for telephone numbers
- "url" - Keyboard optimized for URLs
- "email" - Keyboard optimized for email addresses
- "numeric" - Numeric keypad
- "decimal" - Numeric keypad with decimal point
- "search" - Keyboard optimized for search
 - Parameters:
- inputmode- The input modality hint for mobile keyboards.
- Returns:
- This object.
 
- 
listlist attribute.References a <datalist> element that provides predefined options for the input field. Creates a dropdown with autocomplete suggestions.- Parameters:
- list- The ID of a datalist element (without the # prefix).
- Returns:
- This object.
 
- 
maxmax attribute.Maximum value. 
- 
maxlengthmaxlength attribute. Maximum length of value.
- 
minmin attribute.Minimum value. 
- 
minlengthminlength attribute.Minimum length of value. 
- 
multiplemultiple attribute.Whether to allow multiple values. This attribute uses deminimized values: - false - Attribute is not added
- true - Attribute is added as- "multiple" 
- Other values - Passed through as-is
 
- 
namename attribute.Name of form control to use for form submission and in the form.elements API. - Parameters:
- name- The new value for this attribute.
- Returns:
- This object.
 
- 
patternpattern attribute.Specifies a regular expression that the input's value must match for the form to be valid. Works with the title attribute to provide user feedback.- Parameters:
- pattern- A regular expression pattern (e.g.,- "[0-9]{3}-[0-9]{3}-[0-9]{4}" for phone numbers).
- Returns:
- This object.
 
- 
placeholderplaceholder attribute.Provides a hint to the user about what to enter in the input field. The placeholder text appears when the field is empty and disappears when the user starts typing. - Parameters:
- placeholder- Hint text to display in the empty input field.
- Returns:
- This object.
 
- 
readonlyreadonly attribute.Makes the input field read-only, preventing user modification while still allowing the value to be submitted with the form. - Parameters:
- readonly- If- true , makes the input read-only.
- Returns:
- This object.
 
- 
readonlyreadonly attribute.Whether to allow the value to be edited by the user. - Parameters:
- value- If- true , adds- readonly="readonly" .
- Returns:
- This object.
 
- 
requiredrequired attribute.Indicates that the input field must be filled out before the form can be submitted. Browsers will show validation messages for empty required fields. - Parameters:
- required- If- true , makes the input required for form submission.
- Returns:
- This object.
 
- 
sizesize attribute.Size of the control. 
- 
srcsrc attribute.Address of the resource. 
- 
stepstep attribute.Granularity to be matched by the form control's value. - Parameters:
- step- The new value for this attribute.
- Returns:
- This object.
 
- 
typetype attribute.Specifies the type of form control to display. Common values: - "text" - Single-line text input (default)
- "password" - Password input (characters are masked)
- "email" - Email address input with validation
- "number" - Numeric input with spinner controls
- "tel" - Telephone number input
- "url" - URL input with validation
- "search" - Search input field
- "date" - Date picker
- "time" - Time picker
- "datetime-local" - Date and time picker
- "checkbox" - Checkbox input
- "radio" - Radio button input
- "file" - File upload input
- "submit" - Submit button
- "button" - Generic button
- "reset" - Reset form button
- "hidden" - Hidden input field
 - Parameters:
- type- The input type for the form control.
- Returns:
- This object.
 
- 
valuevalue attribute.Value of the form control. 
- 
widthwidth attribute.Horizontal dimension. 
- 
_classDescription copied from class:HtmlElementclass attribute.Specifies one or more CSS class names for the element, separated by spaces. These classes can be used for styling and JavaScript selection. - Overrides:
- _classin class- HtmlElementVoid
- Returns:
- This object.
 
- 
accesskeyDescription copied from class:HtmlElementaccesskey attribute.Defines a keyboard shortcut to activate or focus an element. The value should be a single character that, when pressed with a modifier key (usually Alt), activates the element. - Overrides:
- accesskeyin class- HtmlElementVoid
- Returns:
- This object.
 
- 
contenteditableDescription copied from class:HtmlElementcontenteditable attribute.Indicates whether the element's content is editable by the user. Possible values: - "true" or empty string - Element content is editable
- "false" - Element content is not editable
- "plaintext-only" - Element content is editable, but rich text formatting is disabled
 - Overrides:
- contenteditablein class- HtmlElementVoid
- Returns:
- This object.
 
- 
dirDescription copied from class:HtmlElementdir attribute.Specifies the text direction of the element's content. Possible values: - "ltr" - Left-to-right text direction
- "rtl" - Right-to-left text direction
- "auto" - Browser determines direction based on content
 - Overrides:
- dirin class- HtmlElementVoid
- Returns:
- This object.
 
- 
idDescription copied from class:HtmlElementid attribute.Specifies a unique identifier for the element. The ID must be unique within the document and can be used for CSS styling, JavaScript selection, and anchor links. - Overrides:
- idin class- HtmlElementVoid
- Returns:
- This object.
 
- 
langDescription copied from class:HtmlElementlang attribute.Specifies the primary language of the element's content using a language tag. This helps with accessibility, search engines, and browser features like spell checking. - Overrides:
- langin class- HtmlElementVoid
- Returns:
- This object.
 
- 
onabortDescription copied from class:HtmlElementonabort attribute.Event handler for when an operation is aborted (e.g., image loading is cancelled). - Overrides:
- onabortin class- HtmlElementVoid
- Returns:
- This object.
 
- 
onblurDescription copied from class:HtmlElementonblur attribute.Event handler for when the element loses focus. Note:If your HTML serializer is configured to use single quotes for attribute values, you should use double quotes in your JavaScript code, and vice versa. Otherwise, the quotes will be converted to HTML entities. For example: - If using single quotes for attributes: onblur( "validate(\"email\")" )
- If using double quotes for attributes: onblur( "validate('email')" )
 - Overrides:
- onblurin class- HtmlElementVoid
- Returns:
- This object.
 
- If using single quotes for attributes: 
- 
oncancelDescription copied from class:HtmlElementoncancel attribute.Event handler for when a dialog is cancelled. - Overrides:
- oncancelin class- HtmlElementVoid
- Returns:
- This object.
 
- 
oncanplayDescription copied from class:HtmlElementoncanplay attribute.Event handler for when the media can start playing (enough data has been buffered). - Overrides:
- oncanplayin class- HtmlElementVoid
- Returns:
- This object.
 
- 
oncanplaythroughDescription copied from class:HtmlElementoncanplaythrough attribute.Event handler for when the media can play through to the end without buffering. - Overrides:
- oncanplaythroughin class- HtmlElementVoid
- Returns:
- This object.
 
- 
onchangeDescription copied from class:HtmlElementonchange attribute.Event handler for when the value of a form element changes and loses focus. Note:If your HTML serializer is configured to use single quotes for attribute values, you should use double quotes in your JavaScript code, and vice versa. Otherwise, the quotes will be converted to HTML entities. For example: - If using single quotes for attributes: onchange( "validate(\"field\")" )
- If using double quotes for attributes: onchange( "validate('field')" )
 - Overrides:
- onchangein class- HtmlElementVoid
- Returns:
- This object.
 
- If using single quotes for attributes: 
- 
onclickDescription copied from class:HtmlElementonclick attribute.Event handler for when the element is clicked. Note:If your HTML serializer is configured to use single quotes for attribute values, you should use double quotes in your JavaScript code, and vice versa. Otherwise, the quotes will be converted to HTML entities. For example: - If using single quotes for attributes: onclick( "alert(\"Hello\")" )
- If using double quotes for attributes: onclick( "alert('Hello')" )
 - Overrides:
- onclickin class- HtmlElementVoid
- Returns:
- This object.
 
- If using single quotes for attributes: 
- 
oncuechangeDescription copied from class:HtmlElementoncuechange attribute.Event handler for when a text track cue changes. - Overrides:
- oncuechangein class- HtmlElementVoid
- Returns:
- This object.
 
- 
ondblclickDescription copied from class:HtmlElementondblclick attribute.Event handler for when the element is double-clicked. - Overrides:
- ondblclickin class- HtmlElementVoid
- Returns:
- This object.
 
- 
ondurationchangeDescription copied from class:HtmlElementondurationchange attribute.Event handler for when the duration of the media changes. - Overrides:
- ondurationchangein class- HtmlElementVoid
- Returns:
- This object.
 
- 
onemptiedDescription copied from class:HtmlElementonemptied attribute.Event handler for when the media element becomes empty (e.g., network error). - Overrides:
- onemptiedin class- HtmlElementVoid
- Returns:
- This object.
 
- 
onendedDescription copied from class:HtmlElementonended attribute.Event handler for when the media playback reaches the end. - Overrides:
- onendedin class- HtmlElementVoid
- Returns:
- This object.
 
- 
onerrorDescription copied from class:HtmlElementonerror attribute.Event handler for when an error occurs (e.g., failed resource loading). - Overrides:
- onerrorin class- HtmlElementVoid
- Returns:
- This object.
 
- 
onfocusDescription copied from class:HtmlElementonfocus attribute.Event handler for when the element receives focus. Note:If your HTML serializer is configured to use single quotes for attribute values, you should use double quotes in your JavaScript code, and vice versa. Otherwise, the quotes will be converted to HTML entities. For example: - If using single quotes for attributes: onfocus( "highlight(\"field\")" )
- If using double quotes for attributes: onfocus( "highlight('field')" )
 - Overrides:
- onfocusin class- HtmlElementVoid
- Returns:
- This object.
 
- If using single quotes for attributes: 
- 
oninputDescription copied from class:HtmlElementoninput attribute.Event handler for when the value of an input element changes (fires on every keystroke). - Overrides:
- oninputin class- HtmlElementVoid
- Returns:
- This object.
 
- 
oninvalidDescription copied from class:HtmlElementoninvalid attribute.Event handler for when form validation fails. - Overrides:
- oninvalidin class- HtmlElementVoid
- Returns:
- This object.
 
- 
onkeydownDescription copied from class:HtmlElementonkeydown attribute.Event handler for when a key is pressed down. - Overrides:
- onkeydownin class- HtmlElementVoid
- Returns:
- This object.
 
- 
onkeypressDescription copied from class:HtmlElementonkeypress attribute.Event handler for when a key is pressed (deprecated, use onkeydown instead). - Overrides:
- onkeypressin class- HtmlElementVoid
- Returns:
- This object.
 
- 
onkeyupDescription copied from class:HtmlElementonkeyup attribute.Event handler for when a key is released. - Overrides:
- onkeyupin class- HtmlElementVoid
- Returns:
- This object.
 
- 
onloadDescription copied from class:HtmlElementonload attribute.Event handler for when the element and its resources have finished loading. Note:If your HTML serializer is configured to use single quotes for attribute values, you should use double quotes in your JavaScript code, and vice versa. Otherwise, the quotes will be converted to HTML entities. For example: - If using single quotes for attributes: onload( "init(\"config\")" )
- If using double quotes for attributes: onload( "init('config')" )
 - Overrides:
- onloadin class- HtmlElementVoid
- Returns:
- This object.
 
- If using single quotes for attributes: 
- 
onloadeddataDescription copied from class:HtmlElementonloadeddata attribute.Event handler for when the first frame of media has finished loading. - Overrides:
- onloadeddatain class- HtmlElementVoid
- Returns:
- This object.
 
- 
onloadedmetadataDescription copied from class:HtmlElementonloadedmetadata attribute.Event handler for when metadata (duration, dimensions, etc.) has been loaded. - Overrides:
- onloadedmetadatain class- HtmlElementVoid
- Returns:
- This object.
 
- 
onloadstartDescription copied from class:HtmlElementonloadstart attribute.Event handler for when the browser starts loading the media. - Overrides:
- onloadstartin class- HtmlElementVoid
- Returns:
- This object.
 
- 
onmousedownDescription copied from class:HtmlElementonmousedown attribute.Event handler for when a mouse button is pressed down on the element. - Overrides:
- onmousedownin class- HtmlElementVoid
- Returns:
- This object.
 
- 
onmouseenterDescription copied from class:HtmlElementonmouseenter attribute.Event handler for when the mouse pointer enters the element (does not bubble). - Overrides:
- onmouseenterin class- HtmlElementVoid
- Returns:
- This object.
 
- 
onmouseleaveDescription copied from class:HtmlElementonmouseleave attribute.Event handler for when the mouse pointer leaves the element (does not bubble). - Overrides:
- onmouseleavein class- HtmlElementVoid
- Returns:
- This object.
 
- 
onmousemoveDescription copied from class:HtmlElementonmousemove attribute.Event handler for when the mouse pointer moves over the element. - Overrides:
- onmousemovein class- HtmlElementVoid
- Returns:
- This object.
 
- 
onmouseoutDescription copied from class:HtmlElementonmouseout attribute.Event handler for when the mouse pointer moves out of the element (bubbles). - Overrides:
- onmouseoutin class- HtmlElementVoid
- Returns:
- This object.
 
- 
onmouseoverDescription copied from class:HtmlElementonmouseover attribute.Event handler for when the mouse pointer moves over the element (bubbles). Note:If your HTML serializer is configured to use single quotes for attribute values, you should use double quotes in your JavaScript code, and vice versa. Otherwise, the quotes will be converted to HTML entities. For example: - If using single quotes for attributes: onmouseover( "showTooltip(\"info\")" )
- If using double quotes for attributes: onmouseover( "showTooltip('info')" )
 - Overrides:
- onmouseoverin class- HtmlElementVoid
- Returns:
- This object.
 
- If using single quotes for attributes: 
- 
onmouseupDescription copied from class:HtmlElementonmouseup attribute.Event handler for when a mouse button is released over the element. - Overrides:
- onmouseupin class- HtmlElementVoid
- Returns:
- This object.
 
- 
onmousewheelDescription copied from class:HtmlElementonmousewheel attribute.Event handler for when the mouse wheel is rotated over the element (deprecated, use onwheel). - Overrides:
- onmousewheelin class- HtmlElementVoid
- Returns:
- This object.
 
- 
onpauseDescription copied from class:HtmlElementonpause attribute.Event handler for when media playback is paused. - Overrides:
- onpausein class- HtmlElementVoid
- Returns:
- This object.
 
- 
onplayDescription copied from class:HtmlElementonplay attribute.Event handler for when media playback starts. - Overrides:
- onplayin class- HtmlElementVoid
- Returns:
- This object.
 
- 
onplayingDescription copied from class:HtmlElementonplaying attribute.Event handler for when media playback starts after being paused or delayed. - Overrides:
- onplayingin class- HtmlElementVoid
- Returns:
- This object.
 
- 
onprogressDescription copied from class:HtmlElementonprogress attribute.Event handler for when the browser is downloading media data. - Overrides:
- onprogressin class- HtmlElementVoid
- Returns:
- This object.
 
- 
onratechangeDescription copied from class:HtmlElementonratechange attribute.Event handler for when the playback rate of media changes. - Overrides:
- onratechangein class- HtmlElementVoid
- Returns:
- This object.
 
- 
onresetDescription copied from class:HtmlElementonreset attribute.Event handler for when a form is reset. - Overrides:
- onresetin class- HtmlElementVoid
- Returns:
- This object.
 
- 
onresizeDescription copied from class:HtmlElementonresize attribute.Event handler for when the element is resized. - Overrides:
- onresizein class- HtmlElementVoid
- Returns:
- This object.
 
- 
onscrollDescription copied from class:HtmlElementonscroll attribute.Event handler for when the element's scrollbar is scrolled. - Overrides:
- onscrollin class- HtmlElementVoid
- Returns:
- This object.
 
- 
onseekedDescription copied from class:HtmlElementonseeked attribute.Event handler for when a seek operation completes. - Overrides:
- onseekedin class- HtmlElementVoid
- Returns:
- This object.
 
- 
onseekingDescription copied from class:HtmlElementonseeking attribute.Event handler for when a seek operation begins. - Overrides:
- onseekingin class- HtmlElementVoid
- Returns:
- This object.
 
- 
onselectDescription copied from class:HtmlElementonselect attribute.Event handler for when text is selected in the element. - Overrides:
- onselectin class- HtmlElementVoid
- Returns:
- This object.
 
- 
onshowDescription copied from class:HtmlElementonshow attribute.Event handler for when a context menu is shown. - Overrides:
- onshowin class- HtmlElementVoid
- Returns:
- This object.
 
- 
onstalledDescription copied from class:HtmlElementonstalled attribute.Event handler for when media loading is stalled. - Overrides:
- onstalledin class- HtmlElementVoid
- Returns:
- This object.
 
- 
onsubmitDescription copied from class:HtmlElementonsubmit attribute.Event handler for when a form is submitted. Note:If your HTML serializer is configured to use single quotes for attribute values, you should use double quotes in your JavaScript code, and vice versa. Otherwise, the quotes will be converted to HTML entities. For example: - If using single quotes for attributes: onsubmit( "return validate(\"form\")" )
- If using double quotes for attributes: onsubmit( "return validate('form')" )
 - Overrides:
- onsubmitin class- HtmlElementVoid
- Returns:
- This object.
 
- If using single quotes for attributes: 
- 
onsuspendDescription copied from class:HtmlElementonsuspend attribute.Event handler for when media loading is suspended. - Overrides:
- onsuspendin class- HtmlElementVoid
- Returns:
- This object.
 
- 
ontimeupdateDescription copied from class:HtmlElementontimeupdate attribute.Event handler for when the current playback position changes. - Overrides:
- ontimeupdatein class- HtmlElementVoid
- Returns:
- This object.
 
- 
ontoggleDescription copied from class:HtmlElementontoggle attribute.Event handler for when a details element is opened or closed. - Overrides:
- ontogglein class- HtmlElementVoid
- Returns:
- This object.
 
- 
onvolumechangeDescription copied from class:HtmlElementonvolumechange attribute.Event handler for when the volume of media changes. - Overrides:
- onvolumechangein class- HtmlElementVoid
- Returns:
- This object.
 
- 
onwaitingDescription copied from class:HtmlElementonwaiting attribute.Event handler for when media playback stops to buffer more data. - Overrides:
- onwaitingin class- HtmlElementVoid
- Returns:
- This object.
 
- 
spellcheckDescription copied from class:HtmlElementspellcheck attribute.Indicates whether the element should have its spelling and grammar checked. Possible values: - "true" - Enable spell checking for this element
- "false" - Disable spell checking for this element
 - Overrides:
- spellcheckin class- HtmlElementVoid
- Returns:
- This object.
 
- 
styleDescription copied from class:HtmlElementstyle attribute.Specifies inline CSS styles for the element. The value should be valid CSS property-value pairs separated by semicolons. - Overrides:
- stylein class- HtmlElementVoid
- Returns:
- This object.
 
- 
tabindexDescription copied from class:HtmlElementtabindex attribute.Specifies the tab order of the element when navigating with the keyboard. Possible values: - Positive integer - Element is focusable and participates in tab order
- "0" - Element is focusable but not in tab order
- Negative integer - Element is not focusable
 - Overrides:
- tabindexin class- HtmlElementVoid
- Returns:
- This object.
 
- 
titleDescription copied from class:HtmlElementtitle attribute.Specifies additional information about the element, typically displayed as a tooltip when the user hovers over the element. - Overrides:
- titlein class- HtmlElementVoid
- Returns:
- This object.
 
- 
translateDescription copied from class:HtmlElementtranslate attribute.Specifies whether the element's content should be translated when the page is localized. Possible values: - "yes" - Content should be translated (default)
- "no" - Content should not be translated
 - Overrides:
- translatein class- HtmlElementVoid
- Returns:
- This object.
 
 
-