UK [fi:ld set] US [fild sɛt]
[电] OUTDOOR MACHINES
html fieldset tag syntax
Function: Can group related elements within the form.
Description: <fieldset> tag packages part of the form content to generate a set of related form fields. When a set of form elements is placed inside a <fieldset> tag, the browser displays them in a special way. They may have special borders, 3D effects, or even create a subform to handle the elements.
Note: The<fieldset> tag has no required or unique attributes. All browsers support the <fieldset> tag.
html fieldset tag example
<!DOCTYPE HTML> <html> <body> <form> <fieldset> <legend>健康信息</legend> 身高:<input type="text" /> 体重:<input type="text" /> </fieldset> </form> <p>如果表单周围没有边框,说明您的浏览器太老了。</p> </body> </html>
Run instance »
Click the "Run instance" button to view the online instance