HTML and CSS Reference
What you write in HTML
There's no deep mystery to creating forms with HTML. In fact, in this chapter
you're going to meet a whole new set of HTML elements that all work together
to create forms. The best way to get a feel for forms is to look at a little HTML
and then to give it a try. Check out this form:
<title> Enter the Contest </title>
This st uff is all old
hat fo r you now .
Here's the form.
<p> Just type in your name (and click Submit) to
enter the contest: <br>
First name: <input type="text" name="firstname" value=""> <br>
Last name: <input type="text" name="lastname" value=""> <br>
…an d a bunc h of elem ents
ne sted insid e it.