HTML Complete Course: final quiz

Ten questions covering the whole HTML Complete Course.

  • Beginner
  • 10 questions

10 questions. Pass mark 70%.

  1. Question 1 of 10 What happens if a page has no doctype?
  2. Question 2 of 10 Which of these are void elements, written without a closing tag?

    Select all that apply.

  3. Question 3 of 10 A page has an h2 section called “Method” and you need a sub-heading inside it that should look small. What should you use?
  4. Question 4 of 10 Which alt attribute is correct for a purely decorative flourish image?
  5. Question 5 of 10 Which link correctly opens a page in a new tab and tells people it will?
    HTML
    <a href="/terms.pdf" target="_blank" rel="noopener">Terms (PDF, opens in a new tab)</a>
  6. Question 6 of 10 A form has this field. What does the server receive for it when the form is submitted?
    HTML
    <label for="email">Email</label>
    <input id="email" type="email">
  7. Question 7 of 10 Which input is the best choice for a UK phone number?
  8. Question 8 of 10 Which statements about this table header cell are true?
    HTML
    <th scope="colgroup" colspan="2">Saturday</th>

    Select all that apply.

  9. Question 9 of 10 How should you open a modal confirmation dialog so that the rest of the page becomes inert and Escape closes it?
  10. Question 10 of 10 You have two scripts. app.js depends on menu.js and both work with the page’s elements. How should you load them?