英[s??lekt] 美[s??l?kt]

vt.Select; select; select

adj. Selected; selected; harshly selected; <口> like to pick three Picky, picky

Third person singular: selects Present participle: selecting Past tense: selected Past participle: selected

html select tag syntax

Function:Create a single-select or multi-select menu.

Description: The <option> tag in the <select> element is used to define the available options in the list.

Note: The select element is a form control that can be used to accept user input in a form.

html select tag example

<!DOCTYPE html>
<html>
<body>

<select>
  <option value="volvo">Volvo</option>
  <option value="saab">Saab</option>
  <option value="opel">Opel</option>
  <option value="audi">Audi</option>
</select>
  
</body>
</html>

Run Instance?

Click the "Run Instance" button to view the online instance

<!DOCTYPE html>
<html>
<body>
<p>你最喜歡的講師是哪一位</p>
<select>
  <option value="西門大官人">西門大官人</option>
  <option value="滅絕師太">滅絕師太</option>
  <option value="歐陽克">歐陽克</option>
  <option value="韋小寶">韋小寶</option>
</select>
  <p>select標簽是一個下拉列表,常用于表單中</p>
</body>
</html>

Run instance?

Click the "Run instance" button to view the online instance