Current Assignment(s)
A4: Questionnaire
Due: Recommended by Monday, 5.28
Due: Recommended by Monday, 5.28
The <input> Element
Altogether
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.
HTML
<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>
The <form>
is improving with the addition of <input>
elements. Specifing input types is where the real magic happens.
- Previous
- Next