Chapter-wise Revision Assignment-1: HTML - Basic HTML Elements
Q.1 Define the following Key Terms (1-2 words):
1. Empty tag - No end tag
2. Noshade - No shading
3. Container tag - With end tag
4. Web Browser - Displays web pages
5. Attribute - Additional info
6. Comment - Developer note
7. Compact - Reduces space
8. Logical text style - Based on meaning
9. Physical text style - Based on appearance
10. Tag - HTML element
Q.2 Passage-Based Questions:
A) What is HTML? -> Markup language for web pages
B) Name the smallest and largest heading tag. -> Smallest: <h6>, Largest: <h1>
C) What is the default alignment of the heading tag? -> Left
Q.3 Crossword Puzzle Answers:
Across:
1. Type 3. Tim 5. Background 6. Comment
Down:
2. Attribute 4. Align
Q.4 Assertion-Reason Questions:
(i) A: HTML elements are called tags
R: HTML tags and attributes are the same
-> Answer: (c) Assertion (A) is true and Reason (R) is false
(ii) A: <BR> is a container tag
R: HTML elements have both starting and ending tags
-> Answer: (c) Assertion (A) is true and Reason (R) is false
Q.5 Shortcut Keys:
i) Save - Ctrl + S
ii) Save as - F12 / Ctrl + Shift + S
Q.6 Short Answer Type Questions:
a) <BODY color="Red"> -> Wrong: color is not valid. Use bgcolor
b) <BR></BR> -> Wrong: <BR> is an empty tag
c) <FONT name="Arial"> -> Wrong: use face instead of name
d) E = MC^2 -> E = MC<sup>2</sup>
e) Attributes of <OL> -> type, start, reversed
Q.7 Long Answer Type Questions:
a) Ordered List: Numbered | Unordered List: Bulleted
b) <HR size="3" noshade> or <HR size="3">
c) <HR>: Inserts horizontal line | Attributes: size, width, color, align
d) <BODY> attributes: bgcolor, background, text, link, vlink, alink
e) <FONT>: Applies to part | <BASEFONT>: Applies to whole doc