Ticker

6/recent/ticker-posts

Chapter 5 List and Images in HTML

 

Exercise Answers

Ques. 1. Multiple Choice Questions:

1. Which list is also known as ordered list?
a. Bulleted list
b. Numbered list
c. Symbol list
d. Unordered list
Ans. b. Numbered list

2. Which list is known as un-ordered list?
a. Bulleted list
b. Numbered list
c. Symbol list
d. Unordered list
Ans. a. Bulleted list

3. A hollow round type of bullet is called:
a. Disc
b. Dot
c. Square
d. Circle
Ans. d. Circle

4. The <ol type = "A"> will create an ordered list numbered with
a. a,b,c,...
b. A,B,C,...
c. Aa,Bb,Cc,...
d. None of these
Ans. b. A,B,C,...

5. Which <img> tag attribute is used to specify the location of the image file which is to be displayed on the web page? 
a. Crs
b. Src
c. rSc
d. Scr
Ans. b. Src

6. Which attribute is used to display a brief message when the image is pointed to in the webpage?
a. Src
b. vspace
c. hspace
d. alt
Ans. d. alt

7. Which of these is the correct way to centre align an image? 
a. <img align = "center">
b. <p align = "center">
b. <image align = "center">
b. <img align = "middle">
Ans. a. <img align = "center"> 


Ques. 2. State the following is true or false for the following statements:

1. An unordered list is enclosed between <ul> and</ul> tags. 
Ans. True

2. An ordered list is enclosed between <ul> and </ul> tags. 
Ans. False

3. The <li> tag represents the list item. 
Ans. True

4. You cannot insert an image in a web page. 
Ans. False

5. You can define height and width of an image in the web page. 
Ans. True

6. You cannot specify the space between the image and surrounding text. 
Ans. False

Ques. 3. Select the suitable words and fill in the blanks. 

1. Tags used for bulleted lists are _______.
Ans. <ul> and </ul>

2. Tags used for Numbered lists are ______. 
Ans. <ol> and </ol>

3. You need to include every item of an ordered/unordered list between the _______ tags.
Ans. <li> and</li> 

4. The <img> tag used with the _______ attribute is used to insert images in the web page. 
Ans. Src

5. <___ align = "center"> tag before the image will align it in the centre of the web page. 
Ans. p

6. ______ attribute displays a brief message when the image in the webpage is pointed to. 
Ans. Alt

Ques. 4. Match the following:


Ques. 5. Answer in one word or sentence. 

1. Which list is also called unordered list? 
Ans. Bulleted list

2. Which list has serial numbers in front of the list items? 
Ans. Ordered list

3. How can you insert an image in the web page?
Ans. The <img> tag with Src attribute is used to insert images in the webpage. 

4. Mention the <img> tag attributes that are used to specify space around the image. 
Ans. hspace and vspace

5. Mention the <img> tag attributes that are used to specify size of the image in a web page. 
Ans. width and height

6. Write down tag and its attribute that is used to align an image in left or right on the web page. 
Ans. <img> tag and align attribute 

7. Write the use of 'alt' attribute. 
Ans. To display a brief message, when the image is pointed to. 

Ques. 6. Answer the following:

1. Write the difference between ordered and unordered lists. 

Ans. Ordered list:- An ordered list has serial number, in front of each least item, by default. You can also change the numbers to letters such as a, b,... etc. or A, B,... etc.
Unordered list:- An unordered list is used when items are not to be given in any specific order. The unordered list has a symbol in front of each item in the list. 

2. Write about List item tags.

Ans. The <li> and </li> tag are used to create List items in an ordered or unordered list. The text enclosed in-between the <li> and </li> pair of tags becomes an 'item' in the list. 

3. Write about the tag used to insert an image in a web page? 

Ans. The <img> tag with the Src attribute is used to insert images in the web page. 

Post a Comment

0 Comments