Class 10 Computer Chapter 3(Objective Type Questions)

CLASS 10 SEBA NOTES

3. Inserting Images and Creating Tables in HTML5

Objective Type Questions

Fill in the blanks. 

a. The GIF image format uses a maximum of 256 colors and a combination of these to create more colors. 

b. The src attribute of the image tag specifies the URL of an image. 

C. The <img> tag is a/an empty element.

d. The value of the height attribute of the <img> tag is specified in pixels.

e. A table arranges data in rows and columns.

f. The table header  tag indicates that the cell is a header for a column or a row. 

g. The default value of caption-side property is top.

h. The padding property specifies the space between the border and content in a table. 

i. The value of src attribute is URL

j. The text-align property sets the horizontal alignment of text in a table.


2. Write T for the True statement and F for the False one. Correct the false statement . 

a. Web browsers use only the GIF format.     | F |

b. PNG format works best for images with transparencies or low color count.     | T |

c. The <img> tag is an empty element.     | T |

d. The alt attribute cannot be used for the <img> tag e. The <td> tag specifies an individual block or a cell in a table row.     | F |

f. The value of width attribute for the <img> tag can be specified in pixels only.    | T |

g. The border properties can be used with <td> and <tr> tags.     | F |

h. The text-align property sets the horizontal alignment of text in a table.     | F |

i. Graphics can be inserted in a table cell using the <image> tag.     | F |

j. The default value of the border-collapse property is 'separate'.    | T |


3. Choose the correct option. 

a. The                      tag specifies an image to be displayed in an HTML5 document.

i. <img>  ii. <image>    iii. <imagehtml> iv. none of these 

Ans:  i. <img>  


b. src is an attribute of the                      tag.

i. <img>  ii. <image>   iii. <imagesource>          iv. none of these 

Ans:  i. <img>  


c. The vertical-align property of the <td> tag can have the value                       . 

i. top ii. bottom iii. middle iv. all of these

Ans:  iv. all of these


d. The  attribute specifies an alternate text for an image. 

i. alternate ii. alter iii. alt iv. none of these 

Ans:  iii. alt


e. Which of the following is the best format for photographs? 

i. PNG ii. JPEG ii. GIF iv. None of these 

Ans:  ii. JPEG 


f. The main tag used to define a table in HTML5 is                            .

i. <table>        ii. <td> iii. <tr> iv. none of these 

Ans:  i. <table>  


g. Which of the following tags is used to define an individual block or cell in a table row in an HTML5 document? 

i. <table>              ii. <tr> iii. <td> iv. All of these 

Ans:  iii. <td> 


h. The default value of empty-cells property is 

i. hide ii. show iii. separate iv. none of these 

Ans:  ii. show 


i. Which of the following properties are used with the <td> tag? 

i. text-align    ii. vertical-align   iii. padding        iv. All of these 

Ans:  iv. All of these 

Comments

Popular posts from this blog

Class 10 Geography Chapter 1

Class 10 History Chapter 1

Class 10 Geography Chapter 2 Seba Notes |