HTML CSS examples for HTML Tag:fieldset
The disabled attribute is a boolean attribute to set if a group of related form elements (a fieldset) should be disabled.
In XHTML, the disabled attribute must be defined as <fieldset disabled="disabled">.
The following code shows how to Disable a group of related form elements:
<!DOCTYPE html> <html> <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><!--from w w w .java2 s .co m--> </body> </html>