HTML Interview Question
HTML Interview Question
1. What is HTTP?
HTTP stands for Hypertext Transfer Protocol. It's a fundamental protocol used for
communication on the World Wide Web.
3. When we open some websites, what is the order of loading HTML, CSS, and JS?
When opening a website, the browser loads HTML first to structure the page's content, then
fetches and applies CSS for styling, and finally retrieves and executes JavaScript to add
interactivity and dynamic features, with potential optimizations affecting the loading order for
improved performance.
Watch these two videos to understand all the concepts related to web and HTTP:
What Is Internet? | Frontend Bootcamp Hindi | Ep.00
Watch this before learning HTML | HTTP request and response | Frontend Bootcamp Hind…
HTML
1. What is HTML?
HTML stands for Hypertext Markup Language. It's a standard markup language used for
creating and structuring web pages.
Video Explanation: Learn Basic HTML by Making Project | Frontend Bootcamp Hindi | E…
9. What are the differences between the <canvas> and <svg> elements in HTML5?
The <canvas> and <svg> elements in HTML5 both enable graphics creation but differ in how
they achieve it. <canvas> is raster-based and relies on JavaScript for dynamic rendering,
suitable for complex animations and real-time graphics. <svg> is vector-based and uses XML
markup, offering resolution-independent graphics, easy manipulation via CSS and JavaScript,
and better accessibility.
10. What are HTML templates? How can they improve web performance?
HTML templates (like <template> tag) allow you to declare fragments of markup that aren't
rendered when the page loads. Describe how templates can enhance performance and provide
an example of their usage.