Chat with us on WhatsApp

HTML Skill Test

Let's test your HTML knowledge.

📋 HTML Practice Test - Instructions

Total Questions: 20

Important: You must answer each question before moving to the next one. Skipping is not allowed.

Completion Reward: After answering all questions correctly, you will earn the "HTML Expert" badge.

To Start Enter your name to personalize your badge. 🏅

Test your skills and become an HTML Expert! 🚀

Q1: Fill in the missing HTML tag to declare HTML5 document type:
<>
<html>
  <head>
    <title>HTML Practice</title>
  </head>
  <body>
    <p>Welcome to the quiz!</p>
  </body>
</html>
    

Q2: Complete the tag to create a hyperlink:
<a ="https://www.example.com">Visit Example</a>
  

Q3: Fill in the correct tag to insert an image:
< src="logo.png" alt="Site Logo">
  

Q4: Add the correct input type for a password field:
<input type="" name="userPassword">
  

Q5: Insert the tag to create an unordered list:
<>
  <li>HTML</li>
  <li>CSS</li>
</ul>
  

Q6: Complete the heading tag for level 3:
<>Welcome to My Site</h3>
  

Q7: Fill in the blank to embed a video:
<video controls ="sample.mp4">
  Your browser does not support the video tag.
</video>
  

Q8: Add the proper tag for a line break:
Hello,<>Welcome to the course!
  

Q9: Add a form tag to start the form:
< action="/submit" method="post">
  <input type="text" name="email">
  <button type="submit">Send</button>
</form>
    

Q10: Fill in the missing table row tag:
<table>
  <thead>
    <tr>
      <th>Name</th>
      <th>Age</th>
    </tr>
  </thead>
  <tbody>
    <>
      <td>John</td>
      <td>25</td>
    </tr>
  </tbody>
</table>
    

Q11: Fill in the blank to complete the internal CSS block used in the <head> section.
<>
  p {
    font-size: 16px;
    color: #333;
  }
</style>
  
Hint: Use the tag that defines internal styles.

Q12: What is the correct HTML element for inserting a line horizontally?
Paragraph above line.
<>
Paragraph below line.
    

Q13: Enter the correct attribute to open a link in a new browser tab:
<a href="https://example.com" ="_blank">Visit</a>
    

Q14: Which HTML tag defines a scalar measurement within a known range?
< value="50" min="0" max="100">
    

Q15: Which tag is used to define a term in a description list?
<dl>
  <>HTML</dt>
  <dd>A markup language for creating web pages.</dd>
</dl>
    

Q16: Which HTML5 tag is used to embed external interactive content or plugin?
< src="https://example.com"></embed>
    

Q17: Which tag is used to define a part of text that might be formatted differently?
<p>This is a normal paragraph. <>This text is different.</span></p>
    

Q18: Which tag is used to define a client-side image map?
<img src="image.jpg" usemap="#image-map">
< name="image-map"></map>
    

Q19: Which HTML tag is used to show text with strikethrough?
<p>This is <>deleted</del> text.</p>
    

Q20: Fill in the correct tag for the caption of a table:
<table>
  <>Monthly Report</caption>
  ...
</table>
    

🎉 Well done! You are expert in HTML!

Click the button below to generate your expert badge.