Home  >  Article  >  Web Front-end  >  HTML tag

(*-*)浩
(*-*)浩Original
2019-09-21 15:22:182544browse

HTML 221f08282418e2996498697df914ce4e Tag

HTML <select> tag

##All major browsers support the 221f08282418e2996498697df914ce4e tag.

Definition and usage(Recommended learning: HTML introductory tutorial)

The select element can create a single-select or multi-select menu.

The 5a07473c87748fb1bf73f23d45547ab8 tag in the32122bd29d2e5648b8cbb35232f24277 element defines the options available in the list.

Tips:

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

Example

Create a select list with 4 options:

<!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>

The above is the detailed content of HTML