SEBA Class 10 Computer Science Chapter 2 Question Bank | HTML and CSS3

Class X Chapter 2 HTML and CSS3 Question Bank
⭐ Very Short Answer Questions
Q1. What is Web Programming?
Answer: Web Programming is the process of creating websites and web applications using languages like HTML, CSS and JavaScript.
Q2. What does HTML stand for?
Answer: Hyper Text Markup Language.
Q3. Who is known as the Father of HTML?
Answer: Tim Berners-Lee.
Q4. What is the latest version of HTML?
Answer: HTML5.
Q5. What is CSS?
Answer: CSS stands for Cascading Style Sheets. It is used to style web pages.
Q6. What is JavaScript?
Answer: JavaScript is a scripting language used to add interactivity to web pages.
Q7. What is an HTML Tag?
Answer: HTML tags are special keywords enclosed within angle brackets used to define webpage elements.
Q8. What is an HTML Element?
Answer: An HTML element consists of a start tag, content and an end tag.
Q9. What is an HTML Attribute?
Answer: An attribute provides additional information about an HTML element.
Q10. What is a Container Tag?
Answer: A container tag has both opening and closing tags.
Q11. What is an Empty Tag?
Answer: An empty tag does not require a closing tag.
Q12. Give one example of an Empty Tag.
Answer: <BR> or <HR>
Q13. What is the purpose of the <TITLE> tag?
Answer: It displays the title of the webpage in the browser title bar.
Q14. Which tag is used to create a paragraph?
Answer: <P> tag.
Q15. Which tag is used for line break?
Answer: <BR> tag.
πŸ“ Short Answer Questions
Q16. Explain HTML.
Answer: HTML is the standard markup language used to create web pages. It structures content such as text, images, links and tables.
Q17. Why is HTML called a Markup Language?
Answer: HTML uses tags to mark and organize content on a web page, therefore it is called a markup language.
Q18. Write any four features of HTML.
Answer:
  • Easy to learn
  • Platform independent
  • Supports multimedia
  • Provides hyperlinks
Q19. What are the two types of HTML editors?
Answer:
  • WYSIWYG Editor
  • Text Editor
Q20. What is WYSIWYG Editor?
Answer: WYSIWYG stands for What You See Is What You Get. It allows developers to see the webpage while designing it.
Q21. Differentiate between Content and Markup.
Answer:
Content Markup
Actual information displayed. Controls how information is displayed.
Text, images, videos etc. HTML tags and attributes.
Q22. What are the building blocks of HTML?
Answer:
  • Tags
  • Attributes
  • Elements
Q23. Explain Nesting of Tags.
Answer: Nesting means placing one HTML tag inside another HTML tag in a proper order.
Q24. What are the main sections of an HTML document?
Answer:
  • HEAD Section
  • BODY Section
Q25. What is the function of BODY tag?
Answer: The BODY tag contains all visible contents displayed on the webpage.
πŸ“š Long Answer Questions
Q26. Explain the structure of an HTML document.
Answer: An HTML document consists of:
  • <HTML> - Root element of the webpage.
  • <HEAD> - Contains title and metadata.
  • <TITLE> - Displays webpage title.
  • <BODY> - Contains visible contents.
Example:
<HTML>
<HEAD>
<TITLE>My Page</TITLE>
</HEAD>

<BODY>
Welcome
</BODY>
</HTML>
Q27. Explain HTML Tags and their types.
Answer: HTML tags are special keywords enclosed within angle brackets. Types:
  • Container Tags: Have opening and closing tags.
  • Empty Tags: Do not require closing tags.
Examples:
  • <P>Paragraph</P>
  • <BR>
Q28. Explain HTML Elements and Attributes.
Answer: An HTML Element consists of:
  • Opening Tag
  • Content
  • Closing Tag
Example:
<P>Hello</P>
Attributes provide additional information. Example:
<IMG src="image.jpg">
Here src is an attribute.
Q29. Explain Heading Tags in HTML.
Answer: HTML provides six heading tags:
  • <H1>
  • <H2>
  • <H3>
  • <H4>
  • <H5>
  • <H6>
H1 is the largest heading while H6 is the smallest.
Q30. Explain Paragraph and Line Break Tags.
Answer:
  • <P> creates a paragraph.
  • <BR> inserts a line break.
Example:
<P>Computer Science</P>
<BR>
Welcome
Q31. Explain Text Formatting Tags in HTML.
Answer: Common formatting tags are:
  • <B> - Bold
  • <I> - Italic
  • <U> - Underline
  • <STRONG> - Important text
  • <EM> - Emphasized text
These tags improve webpage presentation.
Q32. Explain Ordered and Unordered Lists.
Answer: HTML provides two list types: Ordered List:
<OL>
<LI>HTML</LI>
</OL>
Unordered List:
<UL>
<LI>HTML</LI>
</UL>
Ordered lists display numbers while unordered lists display bullets.
Q33. Explain Hyperlinks in HTML.
Answer: Hyperlinks connect one webpage to another. Example:
<A href="https://example.com">
Visit Site
</A>
The A tag is called Anchor Tag.
Q34. Explain CSS and its advantages.
Answer: CSS stands for Cascading Style Sheets. Advantages:
  • Improves webpage appearance.
  • Separates content from design.
  • Saves development time.
  • Makes webpages attractive.
  • Provides consistency.
Q35. Differentiate between HTML and CSS.
HTML CSS
Structures webpage. Styles webpage.
Uses tags. Uses selectors.
Defines content. Defines appearance.
🎀 Viva Questions
1. What does HTML stand for?
Answer: Hyper Text Markup Language.
2. Who developed HTML?
Answer: Tim Berners-Lee.
3. What is HTML5?
Answer: Latest version of HTML.
4. What is CSS?
Answer: Cascading Style Sheets.
5. What is JavaScript?
Answer: Scripting language for web pages.
6. What is a Tag?
Answer: HTML instruction enclosed in angle brackets.
7. What is an Element?
Answer: Complete HTML component.
8. What is an Attribute?
Answer: Provides extra information about an element.
9. What is Container Tag?
Answer: Tag having opening and closing tags.
10. What is Empty Tag?
Answer: Tag without closing tag.
11. Which tag creates a paragraph?
Answer: <P>
12. Which tag inserts line break?
Answer: <BR>
13. Which tag creates hyperlink?
Answer: <A>
14. What is CSS used for?
Answer: Styling web pages.
15. What is the largest heading tag?
Answer: <H1>
16. What is the smallest heading tag?
Answer: <H6>
17. What does WYSIWYG stand for?
Answer: What You See Is What You Get.
18. What is a webpage?
Answer: A document displayed in a web browser.
19. Which section contains visible contents?
Answer: BODY Section.
20. Which section contains title information?
Answer: HEAD Section.
✍ Fill in the Blanks
1. HTML stands for Hyper Text __________ Language.
Answer: Markup
2. The father of HTML is __________.
Answer: Tim Berners-Lee
3. HTML5 is the latest version of __________.
Answer: HTML
4. CSS stands for Cascading __________ Sheets.
Answer: Style
5. The __________ tag is used to create paragraphs.
Answer: P
6. The __________ tag is used for line break.
Answer: BR
7. The __________ tag is used to create hyperlinks.
Answer: A
8. The __________ section contains webpage title.
Answer: HEAD
9. The __________ section contains visible content.
Answer: BODY
10. H1 is the __________ heading tag.
Answer: Largest
11. H6 is the __________ heading tag.
Answer: Smallest
12. An HTML document begins with the __________ tag.
Answer: HTML
13. HTML uses __________ to define webpage elements.
Answer: Tags
14. CSS is mainly used for __________ webpages.
Answer: Styling
15. WYSIWYG stands for What You See Is What You __________.
Answer: Get
16. HTML is a __________ language.
Answer: Markup
17. CSS helps separate content from __________.
Answer: Design
18. Hyperlinks connect one __________ to another.
Answer: Webpage
19. Attributes provide __________ information about elements.
Answer: Additional
20. HTML and CSS are used in __________ development.
Answer: Web
✅ True / False
1. HTML is used for designing the structure of webpages.
Answer: True
2. CSS is used to style webpages.
Answer: True
3. HTML stands for Hyper Text Machine Language.
Answer: False
4. Tim Berners-Lee is known as the father of HTML.
Answer: True
5. HTML5 is an older version of HTML.
Answer: False
6. The BODY section contains visible webpage contents.
Answer: True
7. The HEAD section contains webpage title information.
Answer: True
8. The BR tag creates a paragraph.
Answer: False
9. The P tag creates a paragraph.
Answer: True
10. CSS stands for Cascading Style Sheets.
Answer: True
11. Hyperlinks are created using the A tag.
Answer: True
12. H1 is smaller than H6.
Answer: False
13. HTML tags are enclosed in angle brackets.
Answer: True
14. CSS can improve webpage appearance.
Answer: True
15. Attributes cannot be used in HTML tags.
Answer: False
16. HTML is platform independent.
Answer: True
17. WYSIWYG editors show the webpage while designing.
Answer: True
18. CSS is used to perform mathematical calculations.
Answer: False
19. HTML supports hyperlinks.
Answer: True
20. HTML and CSS are important technologies for web development.
Answer: True
🎯 Most Important Exam Questions
Q1. Explain the structure of an HTML document with an example.
Q2. Explain HTML Tags and their types with examples.
Q3. Differentiate between Container Tags and Empty Tags.
Q4. Explain HTML Elements and Attributes with examples.
Q5. Explain the HEAD and BODY sections of an HTML document.
Q6. Explain Heading Tags and Paragraph Tags with examples.
Q7. Explain Text Formatting Tags used in HTML.
Q8. Explain Ordered List and Unordered List with examples.
Q9. Explain Hyperlinks in HTML with syntax.
Q10. Explain CSS and its advantages.
Q11. Differentiate between HTML and CSS.
Q12. Explain the role of CSS in web page design.
Q13. Write the features of HTML.
Q14. Explain Web Programming.
Q15. Explain WYSIWYG Editors and Text Editors.
Q16. Explain the building blocks of HTML.
Q17. Explain Nesting of Tags with example.
Q18. Explain the importance of Hyperlinks in web pages.
Q19. Explain the advantages of CSS over HTML formatting.
Q20. Write short notes on HTML5.
⚡ Last Minute Revision Questions
1. What does HTML stand for?
2. Who is known as the Father of HTML?
3. What is HTML5?
4. What is Web Programming?
5. What is CSS?
6. What is JavaScript?
7. What is an HTML Tag?
8. What is an HTML Element?
9. What is an HTML Attribute?
10. What is a Container Tag?
11. What is an Empty Tag?
12. What is the use of TITLE Tag?
13. What is the use of BODY Tag?
14. Which tag is used for Paragraph?
15. Which tag is used for Line Break?
16. What is a Hyperlink?
17. What is the use of Anchor Tag?
18. What are Heading Tags?
19. What is WYSIWYG Editor?
20. What are the two types of HTML Editors?
21. What is the difference between Content and Markup?
22. What are the building blocks of HTML?
23. What is Nesting?
24. What are the advantages of CSS?
25. Differentiate between HTML and CSS.

πŸ”₯ Exam Focus Topics

  • Structure of HTML Document
  • HTML Tags and Types
  • HTML Elements and Attributes
  • Container and Empty Tags
  • Heading Tags and Paragraph Tags
  • Text Formatting Tags
  • Lists in HTML
  • Hyperlinks and Anchor Tag
  • HTML Editors
  • WYSIWYG Editor
  • Building Blocks of HTML
  • Nesting of Tags
  • HTML5 Features
  • Introduction to CSS
  • Advantages of CSS
  • Difference between HTML and CSS
  • Web Programming Concepts

πŸ† Exam Success Tips

  • Memorize all important HTML tags and their uses.
  • Practice writing simple HTML programs.
  • Understand the structure of an HTML document.
  • Learn differences between HTML and CSS.
  • Revise all formatting tags and hyperlink syntax.
  • Focus on definitions and short-answer questions.
  • Prepare all Viva Questions before exams.
  • Revise Fill in the Blanks and True/False one day before the exam.

🌟 HSLC Hot Questions

  1. Explain the structure of an HTML document.
  2. Differentiate between Container Tag and Empty Tag.
  3. Explain HTML Elements and Attributes.
  4. Explain Ordered List and Unordered List.
  5. Explain Hyperlinks with syntax and example.
  6. Differentiate between HTML and CSS.
  7. Write advantages of CSS.
  8. Explain Text Formatting Tags.