带有CSS的表单的样式输入字段
要设置表单输入字段的样式,可以尝试运行以下代码。设置<输入>的样式:
示例
<!DOCTYPE html>
<html>
<head>
<style>
input {
width: 100%;
}
</style>
</head>
<body>
<p>Fill the below form,</p>
<form>
<label for = "subject">Subject</label>
<input type = "text" id = "subject" name = "sub">
<label for = "student">Student</label>
<input type = "text" id = "student" name = "stu">
</form>
</body>
</html>热门推荐
10 舅妈生日红包祝福语简短
11 外国毕业祝福语简短中文
12 祖国七十华诞简短祝福语
13 发小结婚简短祝福语
14 描写周末的祝福语简短
15 拥有爱的祝福语简短
16 周年庆典祝福语致辞简短
17 聚餐朋友喝酒祝福语简短
18 英语简短祝福语给学生