<html>
<body>
<form action="demo-form.php" method="get">
<fieldset name="personalia">
Name: <input type="text" name="username"><br>
Email: <input type="text" name="usermail"><br>
</fieldset>
<button type="button" onclick="form.personalia.style.backgroundColor='yellow'">Change background color of fieldset</button>
<input type="submit">
</form>
<p><b>Note:</b> The name attribute of the fieldset element is not supported in IE.</p>
</body>
</html>