FullStackFSCCafé
 
 
Sign in with GoogleSign in with Google. Opens in new tab
Kill Your Tech Interview
3877 Full-Stack, Algorithms & System Design Interview Questions
Answered To Get Your Next Six-Figure Job Offer
      
🤖 Having Machine Learning & DS Interview? Check  MLStack.Cafe - 1704 Data Science & ML Interview Questions & Answers!Having ML & DS Interview? Check 🤖 MLStack.Cafe - 1704 ML & DS Interview Questions and Answers

Top 55 HTML5 Interview Questions

Entry Junior Mid Senior Expert
Sign in with GoogleSign in with Google. Opens in new tab
Topic Progress:

Theoretical Questions

Q1:   

What is the purpose of the alt attribute on images?

  
Add to PDF   Entry 
Q2:   

Explain meta tags in HTML

  
Add to PDF   Entry 
Q3:   

What is an iframe and how it works?

  
Add to PDF   Entry 
Q4:   

What were some of the key goals and motivations for the HTML5 specification?

  
Add to PDF   Junior 
Q5:   

What is the difference between span and div?

  
Add to PDF   Junior 
Q6:   

hat's the difference between an "attribute" and a "property" in HTML?

  
Add to PDF   Junior 
Q7:   

Briefly describe the correct usage of the following HTML5 semantic elements: <header>, <article>, <section>, <footer>

  
Add to PDF   Junior 
Q8:   

What is Character Encoding?

  
Add to PDF   Junior 
Q9:   

What is a self closing tag?

  
Add to PDF   Junior 
Q10:   

How can you highlight text in HTML?

  
Add to PDF   Junior 
Q11:   

How Can I Get Indexed Better by Search Engines?

  
Add to PDF   Junior 
Q12:   

Explain the difference between cookies, session and local storage

  
 Add to PDF   Mid 
Q13:   

Describe the difference between a 'cookie', 'sessionStorage' and 'localStorage'.

  
 Add to PDF   Mid 
Q14:   

What is WebSQL?

  
 Add to PDF   Mid 
Q15:   

What are Web Workers?

  
 Add to PDF   Mid 
Q16:   

What's new in HTML 5?

  
 Add to PDF   Mid 
Q17:   

What is the difference between <section> and <div>?

  
 Add to PDF   Mid 
Q18:   

What is the DOM?

  
 Add to PDF   Mid 
Q19:   

What are some differences that XHTML has compared to HTML?

  
 Add to PDF   Mid 
Q20:   

Where and why is the rel="noopener" attribute used?

  
 Add to PDF   Mid 
Q21:   

Can a web page contain multiple <header> elements? What about <footer> elements?

  
 Add to PDF   Mid 
Q22:   

What are data- attributes good for?

  
 Add to PDF   Mid 
Q23:   

What is WebSQL?

  
 Add to PDF   Mid 
Q24:   

What is HTML5 Web Storage? Explain localStorage and sessionStorage.

  
 Add to PDF   Mid 
Q25:   

What is the purpose of cache busting and how can you achieve it?

  
 Add to PDF   Mid 
Q26:   

How do you serve a page with content in multiple languages?

  
 Add to PDF   Mid 
Q27:   

Discuss the differences between an HTML specification and a browser’s implementation thereof.

  
 Add to PDF   Mid 
Q28:   

When is it appropriate to use the small element?

  
 Add to PDF   Mid 
Q29:   

What are defer and async attributes on a <script> tag?

  
 Add to PDF   Mid 
Q30:   

How do you change the direction of html text?

  
 Add to PDF   Mid 
Q31:   

Have you used different HTML templating languages before?

  
 Add to PDF   Mid 
Q32:   

What is an optional tag?

  
 Add to PDF   Mid 
Q33:   

How do you set IE compatibility mode?

  
 Add to PDF   Mid 
Q34:   

What does a DOCTYPE do?

  
 Add to PDF   Mid 
Q35:   

Explain the difference between block elements and inline elements

  
 Add to PDF   Mid 
Q36:   

Explain almost standard, full standard and quirks mode

  
 Add to PDF   Mid 
Q37:   

What's the difference between Full Standard, Almost Standard and Quirks Mode?

  
 Add to PDF   Senior 
Q38:   

Why do I need a doctype and what does it do?

  
 Add to PDF   Senior 
Q39:   

Describe the difference between , and .

  
 Add to PDF   Senior 
Q40:   

What is WebP?

  
 Add to PDF   Senior 
Q41:   

What kind of things must you be wary of when designing or developing for multilingual sites?

  
 Add to PDF   Senior 
Q42:   

How would you select svg or canvas for your site?

  
 Add to PDF   Senior 
Q43:   

Why to use HTML5 semantic tags?

  
 Add to PDF   Senior 
Q44:   

What are the building blocks of HTML5?

  
 Add to PDF   Senior 
Q45:   

What is an HTML preprocessor and are you using it?

  
 Add to PDF   Senior 
Q46:   

What is the purpose of 'main' element?

  
 Add to PDF   Senior 
Q47:   

Why you would use a srcset attribute in an image tag? Explain the process the browser uses when evaluating the content of this attribute.

  
 Add to PDF   Senior 
Q48:   

What is progressive rendering?

  
 Add to PDF   Senior 
Q49:   

What are Web Components?

  
 Add to PDF   Expert 
Q50:   

Why is it generally a good idea to position CSS s between and JS s just before ? Do you know any exceptions?

  
 Add to PDF   Expert 
Q51:   

What is an IndexedDB?

  
 Add to PDF   Expert 
Q52:   

What is accessibility & ARIA role means in a web application?

  
 Add to PDF   Expert 
Q53:   

Could you generate a public key in HTML?

  
 Add to PDF   Expert 

Code Challenges

Q1:   

Write a HTML table tag sequence that outputs the following

  
 Add to PDF   Entry 
Q2:   

Check HTML Markup Validity

  
  Add to PDF   Senior 
 

Rust has been Stack Overflow’s most loved language for four years in a row and emerged as a compelling language choice for both backend and system developers, offering a unique combination of memory safety, performance, concurrency without Data races...

Clean Architecture provides a clear and modular structure for building software systems, separating business rules from implementation details. It promotes maintainability by allowing for easier updates and changes to specific components without affe...

Azure Service Bus is a crucial component for Azure cloud developers as it provides reliable and scalable messaging capabilities. It enables decoupled communication between different components of a distributed system, promoting flexibility and resili...

Cosmos DB has gained popularity among developers and organizations across various industries, including finance, e-commerce, gaming, IoT, and more. Follow along and learn the 24 most common and advanced Azure Cosmos DB interview questions and answers...
More than any other NoSQL database, and dramatically more than any relational database, MongoDB's document-oriented data model makes it exceptionally easy to add or change fields, among other things. It unlocks Iteration on the project. Iteration f...
Unit Tests and Test Driven Development (TDD) help you really understand the design of the code you are working on. Instead of writing code to do something, you are starting by outlining all the conditions you are subjecting the code to and what outpu...
Domain-Driven Design is nothing magical but it is crucial to understand the importance of Ubiquitous Language, Domain Modeling, Context Mapping, extracting the Bounded Contexts correctly, designing efficient Aggregates and etc. before your next DDD p...
At its core, Microsoft Azure is a public cloud computing platform - with solutions including Infrastructure as a Service (IaaS), Platform as a Service (PaaS), and Software as a Service (SaaS) that can be used for services such as analytics, virtual c...
As an asynchronous event-driven JavaScript runtime, Node.js is designed to build scalable network applications. Follow along to refresh your knowledge and explore the 52 most frequently asked and advanced Node JS Interview Questions and Answers every...
Dependency Injection is most useful when you're aiming for code reuse, versatility and robustness to changes in your problem domain. DI is also useful for decoupling your system. DI also allows easier unit testing without having to hit a database and...