HTML and CSS Reference
In-Depth Information
Put your cursor after the closing </h2> tag that contains the text Contest Entry Form and
press Enter (Return).
Enter the following code:
<form name=”contest” method=”post” action=”“>
<label for=”fullName”>Name: </label>
<input type=”text” name=”fullName” id=”fullName”>
<label for=”email”>Email: </label>
<input type=”text” name=”email” id=”email”>
<label for=”entry”>Entry: </label>
<textarea name=”entry” id=”entry” cols=”50” rows=”5”>Why do you want to
visit Saturn? (100 words or less)</textarea>
Save your file.
In your browser, open tpa_saturn.html to view the rendered form with the text fields and
textarea as shown in Figure 19-3.
FiGure 19-3
Search WWH ::

Custom Search