June 2025
Beginner
817 pages
31h 30m
English
This section introduces a few more useful HTML attributes and elements for the input fields. For an initial overview, see Table 7.5.
|
Attribute |
Description |
|---|---|
|
disabled |
Disables input elements |
|
readonly |
Sets the input element as read only, not editable |
|
tabindex |
Presets a tab order when the (Tab) key gets pressed |
|
accesskey |
Determines a shortcut for a form element |
|
<fieldset></fieldset> |
Groups multiple form elements |
Table 7.5 Useful HTML Attributes and an HTML Element for Input Fields
You can completely disable a form element using the Boolean HTML attribute disabled. This element is usually displayed ...
Read now
Unlock full access