106k views
0 votes
Look at the following HTML form, then decide which one of the following statements is correct.

Please enter your zip code:



1 Answer

4 votes

Answer:

<form action="zip-it.php" method="post">

<p>Please enter your zip code:

<input type="text" size="20" name="zipCode"></p>

<input type="submit" value="Submit your zip code">

</form>

Step-by-step explanation:

Both input elements (Textboxes) are wrong because they lack the "/" character that should be placed just before the ">" character. The form tag is correct, it correctly points to the script which is the value of the action attribute and had specified that the method to be used is post. The paragraph tag (p) is also correct.

User Benny Tjia
by
7.5k points