'form' Example : form « HTML Tag Reference « HTML CSS Reference






'form' Example

    
<html>
<head>
<title>form element example</title>
</head>
<body>
    <form name="form2" method="post" action="yourpage.htm">
        <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>
        <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.
    </form>
</body>
</html>
    
      
      








Related examples in the same category

1.'form' Syntax and Note
2.'form' HTML Attributes
3.'form' Event Handlers
4.'form' CSS Attributes and JavaScript Style Properties
5.'form' Microsoft Behaviors
6.'form' Microsoft Filters
7.'form' JavaScript Properties
8.'form' JavaScript Methods
9.'form' JavaScript Collections
10.'form' JavaScript Objects