Chapter 3 – HTML – I : Basic HTML Elements
Sumita Arora Book Exercise Question Answer Solution
Type – A: Theoretical Questions – Answers
Que 1. HTML stands for _____ .
Answer: Hypertext Markup Language
Que 2. What do you understand by ‘Tag’ ?
Answer: TAG in HTML is a coded command, which indicates how part of web page should be displayed. HTML. It also has an element.
Que 3. What is an attribute in HTML ?
Answer: An attribute is a special word used inside tag to specify additional information to tag such as color, alignment, etc.
Que 4. Define the tag HTML.
Answer: The <HTML> .. </HTML> tag are used to mark the beginning and end of an HTML document.
Que 5. HR tag is used for _____ .
Answer: HR tag is used for inserting Horizontal Rule.
Que 6. <TITLE> tag is used to define _____ .
Answer: <TITLE> tag is used to give title of the document.
Que 7. What is the basic structure of HTML File ?
Answer: Structure of HTML file is
<HTML> <HEAD> <TITLE> </TITLE> </HEAD> <BODY> </BODY>
Que 8. Face attribute is used with …….. tag and used for …. .
Answer: is used with FONT tag and used for font name.
Que 9. To align multiple lines of text we use _____
Answer: (c) align attribute of <P> tag.
Que 10. What is the use of ‘size’ in ‘BASEFONT’ tag ?
Answer: size attribute of <BASEFONT> is used to specify the default font size of the text.
Que 11. List of attributes of <FONT> tag.
Answer: face, size, color
Que 12. List and define different types of paragraph alignments.
Answer: left – to align the text left,
right – to align the text right, and
center – to align the text center
Que 13. The value of #FFFFFF is ____.
Que 14. The value of #000000 is _____.
Que 15. State True or False:
Answer: (a) <BR> tag has its closed tag as </BR>. False
(b) <P> tag has no closing tag. False
(c) <HR> tag is same as <BR>. False
(d) <KBD> tag is used to display tables. False
Que 16. The default alignment of text is ……….. default text color is ………….. black, and the default background color is …………
Answer: The default alignment of text is – left,
the default text color is – black, and
the default background color is – white
Que 17. Give the coding for giving the heading ‘PACE Computer Education’ of <H1> tag, font style as Comic Sans MS, text color as blue. Body text color as red, background as green, alignment as center, font style of body text as Brush Script, size = 15. The text for body as given.
<html> <head> <title> Question 17 </title></head> </html> <body bgcolor = 'green' text = 'red'> <h1> <font face='Comic Sans MS' color = 'blue'> PACE Computer Education </font></h1> <center> <font face ='Brush script' size = 15> Education is the<br> ability to listen to almost<br> anything without<br> losing your tempter<br>or your<br> self confidence.<br> And so is Democracy and Maturity too. </font> </center> </body>