Home >Web Front-end >HTML Tutorial >How to use html fieldset tag
html5 New attribute
disabled: Specifies that related form elements in this group should be disabled. form: Specifies one or more forms to which the fieldset belongs. name: The name of the fieldset. 2b5469ab79cf842344327415c3b3bb95 tag supports html global attributes and html event attributesFormat:
<form> <fieldset> <legend>标题</legend> 表单元素 </fieldset> </form>
Instance
<!doctype html> <html> <head> <meta charset="UTF-8"> <meta http-equiv="Content-Type" content="text/hmtl; charset=utf-8" ><!--PHP中午乱码处理--> <title>html < fieldset>标签_PHP笔记</title> </head> <body> <form> <fieldset> <legend>登陆</legend> 用户名: <input type="text"><br> 密码: <input type="password"><br> Email: <input type="text"> </fieldset> </form> </body> </html>
The above is the detailed content of How to use html fieldset tag. For more information, please follow other related articles on the PHP Chinese website!