'form' Example : form tag « Form « HTML / CSS






'form' Example

    
<html>
<head>
<title>form element example</title>
</head>
<body>
    <form name="form2" method="post" action="yourpage.htm">
        <select name="select2">
           <option>List item 1</option>
           <option>List item 2</option>
           <option>List item 3</option>
           <option>List item 4</option>
           <option>List item 5</option>
        </select>A select list.
        <br>
        <input type="button" name="myButton2" value="Submit">A submit button.
        <br>
        <input type="text" name="textfield2" value="This is a text field" size="30">
        <br>
        <input type="checkbox" name="checkbox2" value="checkbox">A checkbox.
        <br>
        <input type="radio" name="radiobutton" value="radiobutton">A radio button.
        <br>

    </form>
</body>
</html>
    
      
      








Related examples in the same category