实例代码
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<style>
div{
width:500px;
}
input[type=text]{
width:100%;
padding:12px 12px;
margin:8px 0;
box-sizing:border-box;
}
</style>
</head>
<body>
<p>已填充字段</p>
<div>
<form accept="" name="first_name" target="get">
<table for="fname">First Name</table>
<input id="fname" type="text" name="fname" ></input>
<table for="lname" >Last Name</table>
<input id="lname" type="text" name="Lname"></input>
</form>
</div>
</body>
</html>
运行效果:
评论