Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
Shade in the A or B circle for each question.
Draw a line connecting each item on the left to its match on the right.
| Left column | Right column | |
|---|---|---|
| 1<form action="/login" method="post"> <button>Login</button> </form> | ATag names must be lowercase - <FORM> and </FORM> should be <form> and </form> | |
| 2<form action="/search" method="get"> <input type="text" name="q"> <button>Search</button> </form> | BA search form that appends query data to the URL - method get makes the search bookmarkable | |
| 3action specifies the URL where form data is sent on submission | CA form that sends data to /login using POST - the button submits the form when clicked | |
| 4All form controls must be inside <form> - inputs outside the form are not submitted | D<form action="/register" method="post"> <button>Register</button> </form> | |
| 5<FORM action="/go" method="post"> <button>Go</button> </FORM> | EAttribute values must be in double quotes - action=/submit should be action="/submit" | |
| 6<form action=/submit method="post"> <button>Submit</button> </form> | F<form action="/send" method="post"> <input type="text" name="msg"> <button>Send</button> </form> |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
action — The <form> attribute that specifies the URL where the form data is sent when the user submits. Without it, data is sent to the current page URL.<form action="/submit" method="post">
<button>Send</button>
</form><form action="/login" method="post">
<button>Login</button>
</form><form action="/save" method="post">
<button>Save</button>
</form><form action="/send" method="post">
<button>Submit</button>
</form><form action="/search" method="get">
<button>Search</button>
</form>