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<button type="submit">Login</button> | A<button type="button">Help</button> | |
| 2<button type="reset">Clear</button> | B<form> <input type="text" name="q"> <button>Search</button> </form> | |
| 3A <button> without a type defaults to type="submit" inside a form | CSubmits the form when clicked - type="submit" sends the form data to the server | |
| 4type="button" creates a button with no default action - used with JavaScript | DResets all form fields to their initial values - type="reset" does not submit data | |
| 5<BUTTON type="submit">Send</BUTTON> | ETag names must be lowercase - <BUTTON> and </BUTTON> should be <button> and </button> | |
| 6<button type=submit>Send</button> | FAttribute values must be in double quotes - type=submit should be type="submit" |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
<button> — An HTML element that creates a clickable button. The type attribute controls its behaviour: submit, reset, or button.<button type="submit">Send</button><button type="submit">Submit</button><button type="reset">Clear</button><button type="button">Go</button><form>
<button type="submit">Send</button>
</form>