其他分享
首页 > 其他分享> > 14-8

14-8

作者:互联网

label标签

用于点击文字,使得关联的标签获取光标

 

fieldset标签

-legend

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <label for="username">用户名:</label>
    <input id="username" type="text" name="user" />

</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <fieldset>
        <legend>登录</legend>
        <label for="username">用户名:</label>
        <input id="username" type="text" name="user" />
        <br />
        <label for="pwd">密码:</label>
        <input id="pwd" type="text" name="pwd" />
    </fieldset>

</body>
</html>

 

标签:用户名,fieldset,14,Title,标签,label
来源: https://www.cnblogs.com/python-abc/p/11756379.html