Assignment 6: Forms
The <input> Element
An input element is a combination of type, name, and identification. The following code shows an “input” element, wrapped in a “form” element, along with the three required attributes.
<form action="http://www.example.com/login.php" method="post" id="sign-in" class="basic-forms"> <input type="text" name="username" id="username_input" /> </form>
<form> is improving with the addition of
<input> elements. Specifing input types is where the real magic happens.