Crack That Interview! 10 Easy HTML5 Questions You Must Know Quiz

  1. Understanding HTML5

    Which of the following best describes HTML5?

    1. A combination of HTML, CSS, and JavaScript that provides the latest features for modern web development.
    2. A programming language that adds logic to web pages.
    3. A set of stylesheets used for website layouts.
    4. An image editing software for the web.
    5. A type of database system for web applications.
  2. HTML Element Types

    Which of the following HTML elements is considered a void element (an element without a closing tag)?

    1. u003Cdivu003E
    2. u003Cspanu003E
    3. u003Cimgu003E
    4. u003Csectionu003E
    5. u003Ctableu003E
  3. Metadata Placement

    In an HTML document, where do metadata, such as the document title and imports for external stylesheets, usually go?

    1. Inside the u003Cbodyu003E tag
    2. In the u003Cfooteru003E section
    3. Inside the u003Cheadu003E tag
    4. Within the u003Cnavu003E tag
    5. Between u003Cmainu003E tags
  4. HTML Headings

    What is the most important heading tag in HTML that defines the main title or topic?

    1. u003Ch1u003E
    2. u003Ch3u003E
    3. u003Ch6u003E
    4. u003Ch5u003E
    5. u003Ch2u003E
  5. Semantic Elements

    Which HTML5 element is specifically used to mark or highlight text due to its relevance, such as in search results?

    1. u003Cbu003E
    2. u003Cmarku003E
    3. u003Ciu003E
    4. u003Chighlightu003E
    5. u003Cstrongu003E
  6. Web Multimedia

    Which tag introduced in HTML5 allows embedding audio content on a web page without external plugins?

    1. u003Cvideou003E
    2. u003Caudiou003E
    3. u003Csoundu003E
    4. u003Cmediau003E
    5. u003Csongu003E
  7. Difference in Text Importance

    What is the primary distinction between the u003Cstrongu003E and u003Cbu003E HTML elements?

    1. u003Cbu003E is only for large fonts, u003Cstrongu003E is for bold text.
    2. u003Cstrongu003E gives semantic importance to the text, u003Cbu003E only makes text bold.
    3. They both make text italic.
    4. u003Cstrongu003E is for highlighting code, u003Cbu003E is for book titles.
    5. u003Cbu003E is for links, u003Cstrongu003E is for navigation.
  8. HTML5 Storage

    Compared to cookies, what advantage does HTML5 web storage provide?

    1. Only allows data to be stored on the server.
    2. Allows much larger amounts of data to be stored locally in the browser.
    3. Requires special plugins to work.
    4. Stores data in the u003Ctitleu003E tag.
    5. Data expires immediately after a page reload.
  9. HTML List Types

    Which type of list is NOT one of the three supported in HTML5?

    1. Ordered list
    2. Description list
    3. Bullet list
    4. Unordered list
    5. Numbered list
  10. HTML5 Doctype

    What is the correct way to declare the HTML5 doctype at the beginning of a web page?

    1. u003C!DOCTYPE HTMLu003E
    2. u003C!DOCTYPE htmlu003E
    3. u003CHTMLDOCTYPE!u003E
    4. u003C!DTD htmlu003E
    5. u003Cdoc type='html'u003E