<!DOCTYPE html>
<html lang="zh-cn">
<head>
<title>調查表</title>
<meta charest="utf-8">
<style>
#title{
text-align: center;
}
body{
}
h3{
margin-top: 60px;
text-align: center;
color:#551133;
}
#description{
text-align:center;
}
label,textarea{
color:#aa1111;
margin-top: 40px;
display: block;
width: 50%;
height: 30px;
margin: auto;
}
label+input{
border-radius: 12px;
outline: none;
display: block;
width: 50%;
height: 30px;
margin: 0 auto;
background-color: #FFF0F5;
}
#dropdown{
display: block;
margin-left: 58%;
transform: scale(1.2);
}
#submit{
display: block;
margin:auto;
}
</style>
</head>
<body style="background-color:#ccccff">
<header>
<h1 id="title">音樂技能調查表格</h1>
<p id="description">關于大學生所掌握的音樂相關技能的線上調查</p>
</header>
<form id="survey-form">
<h3>你的基本信息</h3>
<label for="name" id="name-label">Name:</label>
<input type="text" id="name" name="name" placeholder="請輸入你的姓名" value="" required>
</br>
<label for="email" id="email-label">Email:</label>
<input type="email" id="email" name="email" placeholder="請輸入你的郵箱" value="" required>
</br>
<label for="number" id="number-label">數(shù)字:</label>
<input id="number" type="number" placeholder="輸入數(shù)字" value="" max="110" min="100" >
</br>
<label for="boy">性別:<input type="radio" value="boy" name="sex"/>男</label>
<label for="girl"><input type="radio" value="girl" name="sex"/>女</label></br>
<h3>你所掌握的音樂技能</h3>
<label for="sing"><input id="sing" value="sing" type="checkbox"/>唱歌 </label><label for="compose"><input id="compose" value="compose" type="checkbox"/>作曲</label><label for="arrange"><input id="arrange" value="arrange" type="checkbox"/>編曲</label><label for="lyric"><input id="lyric" value="lyric" type="checkbox"/>作詞</label><label for="record"><input id="record" value="record" type="checkbox"/>錄音</label><br/>
<h3>你未來想去哪個城市發(fā)展?</h3>
<select id="dropdown" name="city">
<option value="0">請選擇城市</option>
<option value="1">合肥</option>
<option value="2">深圳</option>
<option value="3">上海</option>
</select><br/>
<h3>其他補充:</h3>
<textarea style="border-radius:12px;"></textarea><br/>
<button type="submit" id="submit">Submit</button>
</form>
</body>
</html>