We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4
Class -10th
Exercise Chapter-5 Images, tables and Links in HTML5
Objective type Questions: 1. Fill in the blanks with the correct words. 1. The ALT attribute of <img> tag specifies an alternate text for an image. 2. A table arranges data into rows and columns. 3. <table> is the main tag used to define a table in HTML5. 4. The <th> tag belongs to a/an table element. 5. The default value of the caption-side property is Top. 6. The value of padding property is applied in td in pixels. 7. Hyperlinks or Links tie web pages together in a website or across various websites. 8. When you move the mouse pointer over a link, the mouse pointer changes its shape to a/an small hand. 2. Write T for true statement and F for false one. Correct the false statement. a. The <img> tag is a container tag.(T) Correct- The <img> tag is an empty tag. b. Tables in web pages help organize the data and make it easy to read and interpret data.(T) c. An image cannot be inserted in a table cell.(F) Correct- An image can be inserted in a table cell. d. You can apply a border to a table only not to individual cells. (F) Correct- You can apply a border to a table as well as to individual cells. e. Links are the most important part of the World Wide Web. (T) f. The <a> tag is an empty element.(F) Correct- The <a> tag is a container element. g. If you are linking to a page on the web, the complete address of the page is required. (T) h. By default, a link opens a web page in a new web browser window.(F) Correct- By default. A link opens in the current window. 3. Choose the correct option. a. The attribute of the <img> tag which is used to specify the URL of the image is? i. alt ii. src iii. Source iv. None of these b. The value of height and width attributes of the <img> tag is specified in terms of i. pixel ii. mm iii. Cm iv. None of these c. Which of the following tags is used to define a caption for the table? i. <header> ii. <caption> iii. <cap> iv. None of these d. The …….property specifies the placement of the table caption. i. caption-side ii. side iii. side-caption iv. None of these e. The default value of the empty-cells property is i. show ii. hide iii. Either i or ii iv. Neither i nor ii f. Which of the following values can be assigned to the vertical-align property? i. top ii. bottom iii. middle iv. All of these g. Which of the following tags is used to create a hyperlink? i. <a> ii. anchor iii. link iv. None of these h. The…….. attribute of the anchor tag specifies the destination page or file i. href ii. src iii.Alt iv. None of these
3.Descriptive Type Questions
a. Name the image format that is best suited for photographs. Ans:JPEG(Joint Photographic Expert Group) is the best format for photographs. b. Name the tag which is used to insert an image in an HTML5 document. Is it a container or an empty element? Ans:The <img> tag specifies an image to be displayed in HTML5 document .It is an empty element as it has no corresponding OFF tag. c. Name the tag which is used to define a horizontal row of cells. Ans: The table row tag defines a horizontal row of cells. <tr>………</tr> c. Differentiate between <td> and <tr> tags? Ans: <td> The table data tag specifies an individual block or cell in a table row. <td>………….</td> <tr> The table row tag defines a horizontal row of cells. <tr>…………</tr> e. Expand the following? i) URL ii) <tr> iii) <td> Ans: i) URL: Uniform Resource Locator ii) <tr>: Table row tag iii) <td>: Table data tag f. What are the default link and visited link colours? Ans: The default colour of link is blue while the default colour of visited link is purple. g. What are the different types of links that can be created in HTML5? Ans: There are three different types of links. i) Internal: It is a link to a different section of the current document. ii) Local: It is a link to another page on the same website. iii) Global: It is a link to a page on a different website. h. How will you create an e-mail link in HTML5? Ans: If you want to send an e-mail, mailto: attribute is used with the e-mail address. <a href=mailto:[email protected]>This is an e-mail link </a>