全屏
<label for="major-select">Please select a major:</label> <br/>
​
<select name="majors" id="major-select">
  <option value="">Select a major</option>
  <hr>
  <option value="arth">Art History</option>
  <option value="finearts">Fine Arts</option>
  <option value="gdes">Graphic Design</option>
  <option value="lit">Literature</option>
  <option value="music">Music</option>
  <hr>
  <option value="aeroeng">Aerospace Engineering</option>
  <option value="biochemeng">Biochemical Engineering</option>
  <option value="civileng">Civil Engineering</option>
  <option value="compeng">Computer Engineering</option>
<option value="eleng">Electrical Engineering</option>
  <option value="mecheng">Mechanical Engineering</option>
  <hr>
  <option value="polysci">Political Science</option>
  <option value="intr">International Relations</option>
  <option value="bizdev">Business Development</option>
  <hr>
  <option value="math">Mathematics</option>
  <option value="econ">Economics</option>
  <option value="stat">Statistics</option>
</select>
body {
  font-family: system-ui;
  line-height: 1.5;
  padding: 2rem;
}
返回