0

Can a fieldset tag have attributes ?

24th Sep 2022, 10:22 PM
Michael Asante-Arhin
Michael Asante-Arhin - avatar
1 Réponse
+ 2
This example shows a disabled <fieldset> with two controls inside it. Note how both the controls are disabled due to being inside a disabled <fieldset>. <fieldset disabled> <legend>Disabled fieldset</legend> <div> <label for="name">Name: </label> <input type="text" id="name" value="Chris" /> </div> <div> <label for="pwd">Archetype: </label> <input type="password" id="pwd" value="Wookie" /> </div> </fieldset> https://developer.mozilla.org/en-US/docs/Web/HTML/Element/fieldset
24th Sep 2022, 10:33 PM
SoloProg
SoloProg - avatar