html css interview Questions Rahul
html css interview Questions Rahul
HTML
5. Difference between Head & Body in HTML? Where to place JS link reference?
6. What is Title Tag in HTML? What are the 4 advantages of Title tag?
7. What are Meta Tags? What are the 5 types of meta tags?
8. What are HTML elements? What is the difference between Element & Tag?
9. What are the roles and uses of the <div> element in HTML?
11. What is the role of <p>, <a>, <br>, <hr>, <em>, <img>, <input> & <bu on> elements in
HTML?
12. What is the role of header, main, sec on, footer & address elements in HTML?
13. What is the role of Heading tags in HTML? How does it impact SEO?
14. What is the difference between <sec on> & <ar cle> elements?
19. What are the 3 differences between Block-Level and Inline Elements?
HTML A ributes
21. What are HTML A ributes? What are the Types of HTML a ributes?
22. What are the Id, Style & Class a ributes of an element? When to use what?
24. How to specify Mul ple Classes for single element? What is the style precedence?
36. What are table, tr, th, td elements? What are table advantages & disadvantages?
38. What is the best way to add a border to a table, column and cell?
40. What are the difference between JPEG and PNG image formats?
41. How to embed Video element in HTML? Why we need mul ple source elements?
43. What are the Autoplay & Loop a ributes in mul media elements?
HTML Forms
44. What are HTML Forms and what are its advantages?
45. What are HTML Form Elements and their Main A ributes?
49. How to create radio bu ons and checkboxes? How to group them?
51. What are top 10 Best Prac ces for wri ng HTML code?
54. What is SEO? What are 5 HTML Best Prac ces for SEO?
55. What are the 5 steps required for HTML website deployment?
57. What are the top 3 things required to make a website Responsive in HTML?
58. What are some Responsive Design Frameworks for HTML & CSS?
59. What are HTML En es? How do you display special characters in HTML?
CSS
61. What is CSS? What are the 5 ways to Implement CSS in HTML?
62. What is Inline Style in CSS? When to use it in real applica ons?
63. What is Internal Stylesheet in CSS? When to use it in real applica ons?
64. What is External Stylesheet in CSS? When to use it in real applica ons?
Selectors in CSS
70. What are Selectors in CSS? How many types of selectors are there?
71. Difference between ID, Element & Class selector? When to use which selector?
74. What are A ribute Selectors in CSS? What are it’s 5 Types?
81. What is the difference between display: inline and display: inlineblock?
82. What is z-index property in CSS? How same z-index elements will be displayed?
84. What is the difference between posi on: rela ve/ absolute/ fixed?
90. What are the 5 best prac ces for crea ng a Responsive Design using CSS?
Bootstrap
91. What is Bootstrap? What are the other 5 responsive design frameworks?
93. What are the 2 ways to include Bootstrap framework for your website.
95. What is the difference between col-xs, col-sm, col-md, col-lg & col-xl?
96. What are Bootstrap Components? What are Top 10 bootstrap components?
137. Can we use async keyword without await keyword and vice versa?
142. What is Local Storage? How to store, retrieve and remove data from it?
143. What is Session Storage? How to store, retrieve and remove data from it?
146. What are cookies? How do you create and read cookies?