HTML

HTML

Test your HTML knowledge with free quizzes on MyCodeSkills covering core concepts.


  1. What does HTML stand for?

    • Hyper Text Markup Language
    • High Text Machine Language
    • Hyperlinks and Text Markup Language
    • Home Tool Markup Language
  2. Which tag is used for the largest heading?

    • <h6>
    • <h1>
    • <head>
    • <heading>
  3. Which tag is used to create a paragraph in HTML?

    • <para>
    • <paragraph>
    • <p>
    • <text>
  4. What is the correct HTML element for inserting a line break?

    • <break>
    • <lb>
    • <br>
    • <newline>
  5. Which attribute is used to provide alternative text for an image?

    • title
    • alt
    • src
    • description
  6. Which HTML element is used to define a description list?

    • <dl>
    • <list>
    • <description>
    • <ul>
  7. Which element defines a term in a description list?

    • <dd>
    • <dt>
    • <dl>
    • <li>
  8. Which input type is used for selecting a single option from multiple choices?

    • checkbox
    • radio
    • select
    • option
  9. Which HTML element is used for multi-line text input?

    • <textarea>
    • <text>
    • <input>
    • <box>
  10. What is the purpose of the placeholder attribute?

    • Adds a tooltip
    • Displays hint text in input fields
    • Validates input
    • Sets default value
  11. Which HTML5 element is used for collapsible content?

    • <collapse>
    • <details>
    • <summary>
    • <section>
  12. Which tag provides a heading for <details>?

    • <heading>
    • <caption>
    • <summary>
    • <title>
  13. Which HTML element is used for progress indicators?

    • <progress>
    • <meter>
    • <loading>
    • <status>
  14. Which tag is used for displaying a measurement within a known range?

    • <progress>
    • <meter>
    • <range>
    • <scale>
  15. Which HTML element is used for drawing graphics via scripting?

    • <draw>
    • <svg>
    • <canvas>
    • <paint>