FCC02

  • 制作一個(gè)調(diào)查表格
<!DOCTYPE html>
<html lang="zh-cn">
    <head>
        <title>調(diào)查表</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">音樂技能調(diào)查表格</h1>
          <p id="description">關(guān)于大學(xué)生所掌握的音樂相關(guān)技能的線上調(diào)查</p>
      </header>
      <form id="survey-form">
        <h3>你的基本信息</h3>
        <label for="name" id="name-label">Name:</label>
        <input type="text" id="name" name="name" placeholder="請(qǐng)輸入你的姓名" value="" required>
        </br>
        <label for="email" id="email-label">Email:</label>
        <input type="email" id="email" name="email" placeholder="請(qǐng)輸入你的郵箱" 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>你未來想去哪個(gè)城市發(fā)展?</h3>
        <select id="dropdown" name="city">
                            <option value="0">請(qǐng)選擇城市</option>
                            <option value="1">合肥</option>
                            <option value="2">深圳</option>
                            <option value="3">上海</option>
        </select><br/>
        <h3>其他補(bǔ)充:</h3>
        <textarea style="border-radius:12px;"></textarea><br/>
        <button type="submit" id="submit">Submit</button>
    </form>
  </body>
</html>

?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡書系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容