<html>
<head>
<style>
label{
width:300px
height:200px
}
</style>
</head>
<body>
<div>
<form>
<label for="male">Male</label>
<input type="radio" name="sex" id="male" />
<br />
<label for="female">Female</label>
<input type="radio" name="sex" id="female" />
</form>
</div>
</body>
</html>
<!DOCTYPE html><html>
<head>
<meta charset="utf-8">
</head>
<style type="text/css">
* {
margin: 0
padding: 0
}
.box {
padding: 0 0 0 5px
height: 35px
line-height: 35px
border: 1px solid #000
width:33%
box-sizing: border-box
}
.box input{width: 150px}
</style>
<body>
<div class="box">
<label>姓名:</label><input type="text" name="" id="" value="" />
</div>
<div class="box">
<label>性别:</label><input type="text" name="" id="" value="" />
</div>
</body>
</html>