💻 🧠 🤖
COMPUTISM LAB
CLASS 6 HALF YEARLY EXAMINATION
HTML Basic Tags – Answer Sheet
Class: 6
Max Marks: 100
Time: 2 Hours
📝 SECTION A – Fill in the Blanks
- The <title> tag contains the title of an HTML document.
- To break a line and move to the next line, the <br> tag is used.
- The <b> tag is used to make text appear in bold letters.
- The <u> tag is used to display an underline beneath text.
- The <i> tag is used to display text in italics.
- The <sub> tag creates subscript text, such as the number 2 in H2O.
- The <sup> tag creates superscript text, such as the power 2 in X2.
- All the visible content of a webpage must be placed inside the <body> tag.
- The <title> tag is placed inside the head section to define the document title.
- HTML stands for HyperText Markup Language.
🎯 SECTION B – Multiple Choice Questions
1. Which tag is used to insert a single line break?
✅ Answer: (b) <br>
✅ Answer: (b) <br>
2. Which tag makes text bold?
✅ Answer: (b) <b>
✅ Answer: (b) <b>
3. Which tag underlines text?
✅ Answer: (c) <u>
✅ Answer: (c) <u>
4. Which tag is used for italic text?
✅ Answer: (c) <i>
✅ Answer: (c) <i>
5. Where should the <title> tag be placed?
✅ Answer: (b) Inside <head>
✅ Answer: (b) Inside <head>
6. Which tag displays text below the baseline?
✅ Answer: (a) <sub>
✅ Answer: (a) <sub>
7. Which tag displays text above the baseline?
✅ Answer: (b) <sup>
✅ Answer: (b) <sup>
8. Where do you place text that appears on the webpage?
✅ Answer: (c) <body>
✅ Answer: (c) <body>
9. Which tag is an empty tag?
✅ Answer: (c) <br>
✅ Answer: (c) <br>
10. What does the <title> element define?
✅ Answer: (b) The title shown on the browser tab
✅ Answer: (b) The title shown on the browser tab
🧠 SECTION C – Assertion Based MCQs
-
Answer: (a)
Both Assertion and Reason are true, and Reason correctly explains the Assertion. -
Answer: (a)
Both Assertion and Reason are true, and Reason correctly explains the Assertion. -
Answer: (c)
Assertion is false, but Reason is true. The <title> tag belongs inside the <head>, not the body. -
Answer: (a)
Both Assertion and Reason are true, and Reason correctly explains the Assertion. -
Answer: (a)
Both Assertion and Reason are true, and Reason correctly explains the Assertion. -
Answer: (c)
Assertion is false, but Reason is true. The <head> contains metadata and the document title; it is not the visible webpage body. -
Answer: (a)
Both Assertion and Reason are true, and Reason correctly explains the Assertion. -
Answer: (a)
Both Assertion and Reason are true, and Reason correctly explains the Assertion. -
Answer: (c)
Assertion is false, but Reason is true. The <br> tag is an empty element and does not require a separate closing tag. -
Answer: (a)
Both Assertion and Reason are true, and Reason correctly explains the Assertion.
✔️ SECTION D – True or False
1. The <b> tag is used to make text bold.
🟢 TRUE
🟢 TRUE
2. The <br> tag requires a matching closing tag </br>.
🔴 FALSE
🔴 FALSE
3. The <title> tag must be placed inside the <head> tag.
🟢 TRUE
🟢 TRUE
4. The <sub> tag makes text appear above the normal line.
🔴 FALSE
🔴 FALSE
5. The <i> tag displays text in italic format.
🟢 TRUE
🟢 TRUE
6. The <body> tag contains all visible content of the webpage.
🟢 TRUE
🟢 TRUE
7. The <u> tag is used to underline text.
🟢 TRUE
🟢 TRUE
8. The <sup> tag is used for superscript text.
🟢 TRUE
🟢 TRUE
9. The <head> tag is placed after the <body> tag.
🔴 FALSE
🔴 FALSE
10. HTML tags are written inside angle brackets.
🟢 TRUE
🟢 TRUE
💻 SECTION E – HTML Programming Answers
Program 1 – Name, School Name and H₂O
Answer: The following HTML program uses
<head>, <title>,
<body>, <b>,
<u>, <br> and
<sub>.
<!DOCTYPE html>
<html>
<head>
<title>My Introduction</title>
</head>
<body>
<b>My Name</b>
<br>
<u>My School Name</u>
<br>
H<sub>2</sub>O
</body>
</html>
Output:
My Name
My School Name
H2O
My Name
My School Name
H2O
Program 2 – Maths Formula
Answer: The following program displays the title in italic
and uses the <sup> tag for powers.
<!DOCTYPE html>
<html>
<head>
<title>Maths Formula</title>
</head>
<body>
<i>Maths Formula</i>
<br>
<b>X<sup>2</sup> + Y<sup>2</sup></b>
</body>
</html>
Output:
Maths Formula
X2 + Y2
Maths Formula
X2 + Y2
📚 Quick HTML Tag Reference
⭐ 💻 ⭐
Best of Luck for Your Examination!
Keep Learning • Keep Practising • Keep Exploring 🚀
CREATED BY BIJAN KRISHNA PAUL
No comments:
Post a Comment