Skip to main content

Menu

Home Quizzes Categories Current Affairs GK AI ToolsNEW Play Live Contact

HTML Fundamentals Quiz

Test your understanding of HTML fundamentals through practical questions covering the building blocks of modern web pages.

25 Questions
30 min Duration
85% To pass
1.00 Marks / correct

Instructions

  • This quiz has 25 questions.
  • Questions are picked at random from a bank of 100, so each attempt is different.
  • You have 30 minutes. The quiz submits automatically when time runs out.
  • You need 85% to pass.
  • There is no negative marking.
  • You can mark questions for review and return to them before submitting.
  • Correct answers and explanations are shown after you submit.

Sample Questions & Answers

A preview of 12 questions from this quiz, each with the correct answer and a written explanation. Attempt the full, timed quiz to be scored and earn XP.

  1. Question 1

    Which HTML element is used to define the largest heading?

    • <h1> Correct answer
    • <h6>
    • <heading>
    • <head>
    Explanation: The <h1> element represents the highest-level heading in an HTML document.
  2. Question 2

    Which HTML element creates a paragraph?

    • <para>
    • <p> Correct answer
    • <paragraph>
    • <text>
    Explanation: The <p> element is the standard HTML element for a paragraph.
  3. Question 3

    Which element creates a hyperlink in HTML?

    • <link>
    • <a> Correct answer
    • <href>
    • <url>
    Explanation: The <a> element creates a hyperlink, commonly using the href attribute for its destination.
  4. Question 4

    Which attribute specifies the destination URL of an HTML hyperlink?

    • src
    • link
    • href Correct answer
    • url
    Explanation: The href attribute specifies the URL or fragment to which an anchor element points.
  5. Question 5

    Which HTML element embeds an image?

    • <image>
    • <img> Correct answer
    • <picture-img>
    • <src>
    Explanation: The <img> element embeds an image resource in an HTML document.
  6. Question 6

    Which attribute provides alternative text for an HTML image?

    • title
    • alt Correct answer
    • caption
    • text
    Explanation: The alt attribute provides a textual alternative for an image.
  7. Question 7

    Which HTML element creates an unordered list?

    • <ol>
    • <ul> Correct answer
    • <list>
    • <li>
    Explanation: The <ul> element represents an unordered list.
  8. Question 8

    Which HTML element represents an item in a list?

    • <item>
    • <li> Correct answer
    • <list-item>
    • <entry>
    Explanation: The <li> element represents a list item inside an ordered or unordered list.
  9. Question 9

    Which HTML element creates an ordered list?

    • <ul>
    • <ol> Correct answer
    • <li>
    • <order>
    Explanation: The <ol> element represents an ordered list.
  10. Question 10

    Which HTML element defines a table row?

    • <td>
    • <tr> Correct answer
    • <row>
    • <th>
    Explanation: The <tr> element represents a row in an HTML table.
  11. Question 11

    Which HTML element defines a table data cell?

    • <cell>
    • <td> Correct answer
    • <data>
    • <tr>
    Explanation: The <td> element represents a standard data cell in an HTML table.
  12. Question 12

    Which HTML element defines a table header cell?

    • <thead-cell>
    • <header>
    • <th> Correct answer
    • <td-header>
    Explanation: The <th> element represents a header cell in an HTML table.

Login/Register to attempt the full quiz and earn XP.

Explore more: All Computer & Technology quizzes · HTML

Test Your HTML Fundamentals

This quiz covers essential HTML concepts used when creating web pages, including elements, attributes, links, forms, tables, media and semantic markup.

What You Will Practice

Questions focus on how common HTML elements work, where attributes are used and how different parts of a page are structured. It is useful for beginners who are learning HTML as well as learners revising the basics.

Review Your HTML Knowledge

After completing the quiz, review the questions you missed and revisit the related HTML concepts. Understanding why an answer is correct is more useful than simply remembering the option.

Frequently Asked Questions

Each attempt serves 25 questions, drawn at random from a bank of 100, with 30 minutes.

You need at least 85% to pass this quiz.

No, there is no negative marking on this quiz.

Yes. You can attempt this quiz again at any time, though first-attempt XP bonuses apply only once.

Sign in to attempt this quiz and earn XP.

Login to Start Create free account

Related Quizzes