TechLead
Test Your Knowledge

Web Development Quiz

Challenge yourself with interview-style questions. Select a topic from the sidebar and click to reveal answers.

πŸ“„

HTML

Test your HTML knowledge

πŸ“„HTML

What is the difference between <div> and <span> elements?

πŸ“„HTML

What is semantic HTML and why is it important?

πŸ“„HTML

What's the difference between <script>, <script async>, and <script defer>?

πŸ“„HTML

What is the purpose of the alt attribute in images?

πŸ“„HTML

What are data attributes and how do you use them?

πŸ“„HTML

What is the DOCTYPE declaration and why is it needed?

πŸ“„HTML

What's the difference between id and class attributes?

πŸ“„HTML

What are void elements in HTML?

πŸ“„HTML

What is the purpose of the <meta> viewport tag?

πŸ“„HTML

What's the difference between <button> and <input type='button'>?

πŸ“„HTML

What is the <template> element used for?

πŸ“„HTML

What are ARIA attributes and when should you use them?

πŸ“„HTML

What's the difference between <section> and <article>?

πŸ“„HTML

How do you create accessible forms?

πŸ“„HTML

What is the <figure> and <figcaption> used for?

πŸ“„HTML

What's the difference between <strong> and <b>, <em> and <i>?

πŸ“„HTML

What are the new input types in HTML5?

πŸ“„HTML

What is the <details> and <summary> element?

πŸ“„HTML

What is the purpose of the lang attribute?

πŸ“„HTML

What's the difference between localStorage and sessionStorage?