English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
HTML: <fieldset> disabled attribute
Online Example
Example <!DOCTYPE html> <html> <head>-8<meta charset="utf ">-<title>HTML fieldset disabled attribute usage3codebox.com)</title> </head> <body> <form> <fieldset disabled> <legend>Personalia:</legend> Name: <input type="text"><br> Email: <input type="text"><br> Date of birth: <input type="text"> </fieldset> </form> </body> </html>Test and see ‹/›
IEFirefoxOperaChromeSafari
Except for Internet Explorer and Safari, all other mainstream browsers support the disabled attribute.
The disabled attribute is a boolean attribute.
The disabled attribute specifies that a group of form elements (a fieldset) should be disabled.
The disabled fieldset is not available and cannot be clicked.
allows the disabled attribute to be set so that users can use input fields only when certain conditions are met (such as checking a checkbox, etc.). Then, JavaScript can be used to remove the disabled value, making the fieldset available. The disabled fieldset is not available and cannot be clicked.
The disabled attribute is a difference between <fieldset> tag in HTML5 new attributes.
In XHTML, prohibition of attribute minimization, the disabled attribute must be defined as <fieldset disabled="disabled">.
<fieldset disabled>