Answers for "form options select html"

11

html form select

<!-- O segundo valor estará selecionado inicialmente -->
<select name="select">
  <option value="valor1">Valor 1</option> 
  <option value="valor2" selected>Valor 2</option>
  <option value="valor3">Valor 3</option>
</select>
Posted by: Guest on May-25-2020
0

Form (Select : Option)

<label for="cars">Choose a car:</label>
<select id="cars" name="cars">
  <option value="volvo">Volvo</option>

  
 <option value="saab">Saab</option>
  <option value="fiat">Fiat</option>

  
 <option value="audi">Audi</option>
</select>
Posted by: Guest on May-31-2021

Browse Popular Code Answers by Language