0% found this document useful (0 votes)
2 views2 pages

HTML CSS QuestionBank Exact

Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views2 pages

HTML CSS QuestionBank Exact

Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

HTML & CSS Question Bank (Exact questions from

uploaded PDF)

Unit 1: Web Fundamentals and HTML Essentials (exact


wording & numbering)
1. What is HTML?

2. Describe the basic structure of an HTML element?

3. What is the purpose of Doctype in HTML?

5. What is the difference between the <head> and <body> tags?

11. How do you create a Hyperlink in HTML?

12. How can you open a link in a new tab?

[Link] do you create a link that jumps to a specific part of the page in HTML?

14. How do you create a link to a downloadable file in HTML?

17. What are semantic tags ?

18. How do you define headings in HTML?

19. How do you create a line break in HTML?

20. How do you embed images in HTML Page?

21. What is the role of the alt attribute for images ?

22. How do you create Image maps in HTML?

23. What is the difference between svg and canvas elements?

25. What is the difference between tags & elements ?

26. What are the different types of lists available in HTML?

27. What are HTML forms ?

28. Describe the different input types in HTML5?

29. How do you make form inputs required?

30. What is the purpose of label tag in HTML?

31. How do you group forms inputs ?

33. What is the use of nav and aside in HTML?

34. How do you create a table in HTML & what are the thead,tbody & tfoot in a table?

35. What is the difference between colspan & rowspan?

36. What is the purpose of the "nowrap" attribute in an HTML table?

37. How do you add audio & video to an HTML document & what are the attributes?

38. What is the difference between embedding & linking media?

45. How do you create a multi-line text input field in HTML?

46. What is the purpose of the HTML <iframe> tag?


Unit 2: Styling with CSS and Layout Techniques (exact
wording & numbering)
7. How do you link a CSS file in an HTML document ?

24. What is the difference between the ‘id’ attribute and the ‘class’ attribute of HTML elements?

39. What is a viewport?

40. What is the use of Media Queries?

41. What is responsive design?

43. Difference between link tag <link> and anchor tag <a>?

44. What is the purpose of the "span" element in HTML?

You might also like