Core HTML

Form - Select

This form example demonstrates how to code a form with a select tag in it.

SelectForm.html

<!DOCTYPE html>
<html>
  <head>
    <title>XoaX.net's HTML: Form - Select Tag Example</title>
  </head>
  <body>
    <form>
      Evangelists:<br />
      <select name="evangelists">
      	<option value="matthew">Matthew</option>
      	<option value="mark">Mark</option>
      	<option value="luke">Luke</option>
      	<option value="john">John</option>
      </select><br />
    </form>
  </body>
</html>
 

Output

 
 

© 2007–2024 XoaX.net LLC. All rights reserved.