<html>
<body>
<h1>fieldset name 属性</h1>
<form action="/demo/action_page.php" method="get">
<fieldset name="personalia">
<label for="fname">名字:</label>
<input type="text" id="fname" name="fname">
</fieldset>
<br>
<button type="button" onclick="form.personalia.style.backgroundColor='yellow'">更改 fieldset 的背景颜色</button>
<input type="submit">
</form>
</body>
</html>