AS QB V IntroductiontoHTML
AS QB V IntroductiontoHTML
1. Choose the correct HTML tag to make a text italic. [Prev. Yr.
a. <ii> Ques.]
b. <italics>
c. <i>
d. <italic
2. Each list item in an ordered or unordered list has a ____ tag. [Prev. Yr.
a. <ol> Ques.]
b. <li>
c. <list>
d. <il>
6. What will be the output of the following HTML code? [Prev. Yr.
(a-b)<sup>2</sup> = a<sup>2</sup>-2ab +b<sup>2</sup> Ques.]
a. (a-b)2=a2+2ab+b2
b. (a+b)2=a2+2ab+b2
c. (a-b)2=a2-2ab+b2
d. (a+b)2=a2-2ab+b2
7. What will be the output of the following HTML code? [Prev. Yr.
<b><u>Saturn’s storms </b></u>are thought to originate in <u>water Ques.]
clouds</u>.
a. Saturn’s storms are thought to originate in water clouds.
b. Saturn’s storms are thought to originate in water clouds.
c. Saturn’s storms are thought to originate in water clouds.
d. Saturn’s storms are thought to originate in water clouds.
Ans. a. Saturn’s storms are thought to originate in water clouds.
10. Anisha wants to change the background color of her website to blue. Which tag [Prev. Yr.
can she do the same? Ques.]
a. <body bgcolor=”blue”>
b. <font color=”#008000”>
c. <font color=blue>
d. <bgcolor=”blue”>
11. The _________ tag is used to begin a new line in HTML. [Prev. Yr.
a. <p> Ques.]
b. <b>
c. <center>
d. <br>
12. The ______________ tag is used to keep the content in the center of the page. [Prev. Yr.
a. <h1> Ques.]
b. <center>
c. <b>
d. <font>
13. What is the title of the given web page? [Prev. Yr.
Ques.]
a. file:///C:/Users/Admin/Desktop/HTML/Christmas.html
b. Christmas.html
c. .html
d. HTML/Christmas.html
14. ____________ tag is used to display text in a smaller size above the normal line. [Prev. Yr.
a. Superscript Ques.]
b. Subscript
c. Paragraph
d. Line break
16. ______ tag is used to display text in a smaller size below the normal line. [Prev. Yr.
a. Superscript Ques.]
b. Subscript
c. Paragraph
d. Line break
17. _____ are used to change a specific feature /characteristics of a tag. [Prev. Yr.
a. Attributes Ques.]
b. Paired tags
c. Elements
d. Functions
20. Which Tag can be used to separate text into smaller,more readable portions or to
create a visual break between paragraphs?
a. <h1> Tag
b. <hr> Tag
c. <br> Tag
d. <body> Tag
21. Ria’s teacher asked her to show Footnotes or Exponents using HTML Tags. Ria should CBQ
use which of the following Tags?
a. <Sub>
b. <Supp>
c. <Sup>
d. <Exp>
23. By default list items in the unordered list are marked with a ____ symbol CBQ
a. Circle
b. Square
c. Disc
d. Dots
24. Zara wants to show the hierarchical structure of Employees in her Organizations CBQ
Web Page. What type of list can she use for the same?
a. Definition List
b. Nested List
c. Ordered List
d. Unordered List
1. Write an HTML code to display the formulas given below on a web page. [Prev. Yr.
(a+b)³ = a³+3a²b+3ab²+b³ Ques.]
Ans:
(a+b)<sup>3</sup>=a<sup>3</sup>+3a<sup>2</sup>b+3ab<sup>2</sup>+b<s
up>3</sup>
2. What is Intellisense in Notepad++ ?
Ans : As soon as you start typing a tag in a file, Notepad+ + will suggest some
tag names that you may require. This is known as IntelliSense.
3. Rocky has downloaded an image of the National Flag on his computer. He has CBQ
used this file as background for his Webpage. Identify the reason why the
background is not showing on Browser.
Ans: Rocky has not saved the Flag image in the same folder as the HTML file
location.
b. A background image.
Ans: <body background=”rose.jpg”>
c. The color of the text should be other than the default color.
Ans: <body text=”blue”>
6. Identify the appropriate attributes for the blank spaces given below [Prev. Yr.
a. <body _________ =” yellow”>...</body>, what attribute will be used in Ques.]
the blank space to add a yellow color to the background in HTML?
Ans: bgcolor
8. List the tag names used in the basic structure of an HTML document.
Ans:
<html>...</html>
<head>...</head>
<title>...</title>
<body>...</body>
10. What is the purpose of the <!-- --> tags in an HTML document? WB
Ans: The <!-- --> tags in an HTML document are used to add personal notes or
descriptions by the coder. These are treated as comments that are not displayed in
the web page.
12. Shriya has created a file in Notepad using HTML tags. She is unable to open it on the CBQ
Google Chrome Browser, Why?
Ans: Shriya has not saved the file with .htm/.html extension, She should save the
file with .htm/.html extension then it will appear with the Browser icon.
2. What will be the output of the following HTML codes? [Prev. Yr.
a. (a-b)<sup>2</sup> = a<sup>2</sup> -2ab +b<sup>2</sup> Ques.]
Ans: (a-b)2=a2-2ab+b2
b. (a+b)<sup>3</sup> = a<sup>3</sup>+3a<sup>2</sup>b+3ab<sup>2
</sup>+b<sup>3</sup>
Ans: (a+b)3=a3+3a2b+3ab2+b3
c. X4+Y4
Ans: X<sup>4</sup> + Y<sup>4</sup>
d. A background color
Ans: <body bgcolor=”Green”> or <body bgcolor=”#008000”>
(Any color or hexadecimal code)
f. X4 + Y4
Ans: X<sub>4</sub> + Y<sub>4</sub>
7. Aliya has created a web page in HTML. It displays an article on various parts of the WB
human body. She wants to visually separate each article by adding a line. Describe
the HTML tag that will help her do the same.
Ans: She can use <hr> horizontal ruler tag. It is used to insert a horizontal line on a
web page to visually separate the content on a web page. It can also be used to
separate different sections of an article or to separate a header from the rest of the
page content.
11. What is the use of the 'start' and 'type' attributes in a list? TB
Ans : In an ordered list ,attributes start and type can be used.
Type- it defines the numbering style for each item of the ordered list. Ex- 1,i,a etc
Start - it specifies the starting value of the first list item.
12. Raj has created a web page about 'Mountains in India' using HTML. Now he wants to TB
test a specific part of his web page without affecting the rest.
How can he modify his HTML code to achieve this?
Ans : Raj can keep the specific part of the web page as it is and the rest of the lines
can be converted into Comment line using <!-- – > Tag.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>