C Write T for True and F for False
2.
1. The full form of GIF is Graphics Interchange Format.
You can align the image to left or center, but not to the right side of the window using <img> tag.
3. A:link is used to change the color of the active link.
You can use an image as a link by clicking on which a linked page is opened.
5. Inline frame is a frame which is embedded in the current HTML document.
Answers
Explanation:
Learn CBSE
NCERT Solutions for Class 6, 7, 8, 9, 10, 11 and 12
NCERT Solutions for Class 10 Foundation of Information Technology – Inserting Images and Links in HTML
October 1, 2019 by Rama Krishna
NCERT Solutions for Class 10 Foundation of Information Technology – Inserting Images and Links in HTML
Very Short Answer Type Questions [1 Mark each]
Question 1. How can text be displayed in place of image for users whose browser do not support images? CBSE 2007
Answer: The alt attribute of <img> tag is used to display the text in place of image for the users whose browser do not support images.
Question 2. Write a statement in HTML that inserts an image named ‘school.jpg’ found in the ‘images’ folder of the current folder. In case the image cannot be found, it should display ‘Schools in India’.
Answer: <img src =”images\school.jpg” alt=”Schools in India”>
More Resources for CBSE Class 10
NCERT Solutions
NCERT Solutions for Class 10 Science
NCERT Solutions for Class 10 Maths
NCERT Solutions for Class 10 Social
NCERT Solutions for Class 10 English
NCERT Solutions for Class 10 Hindi
NCERT Solutions for Class 10 Sanskrit
NCERT Solutions for Class 10 Foundation of IT
RD Sharma Class 10 Solutions
Question 3. The following code is written to align the image in center in the browser’s window.
However, the>desired result is not achieved. Mention the reason.
<img src = “image.jpg” align = “center”>
Answer: The reason for not getting the desired result is that center is not a value of align attribute in <img> tag.
Question 4. Why width and height attributes are used?
Answer: The width and height attributes are used, such that downloading of an image will be faster after knowing the dimensions of the images in the browser.
Question 5. What do you mean by hypertext?
Answer: Hypertext acts as a link on which you click to navigate to the desired content.
Question 6. In HTML, how linking can be done?
Answer: In HTML, linking can be done by using anchor <a> tag followed by href attribute.
Question 7. Explain linking.
Answer: When one Web page or a text fragment is connected to another Web page, then it is called linking. It is of two types— internal linking and external linking.
Question 8. What happens when we click on a hyperlink in a Web page? CBSE 2008
Answer: When we click on a hyperlink in a Web page, it provides a link that leads from one document to another.
Question 9. Give the expansion of the following
alt
<a>
Answer:
alt is used for alternate text attribute.
<a> is used for anchor tag.
Question 10. Write the HTML command to display the following in your Web page. A2 + B2 CBSE 2006
Answer: The HTML command is – A<sup>2</sup> + B<sup>2</sup>
Question 11. Write the output on the Web page for the following HTML command.
<u>Atomic weight of </u>O<sub>2</sub>
Answer: The output on the Web page will be Atomic weight of O2
Short Answer Type Questions [2 & 3 Marks each]
Question 1. Describe the use of alt attribute with <img> tag.
Answer: The alt attribute is used to define ‘alternate text’ for an image. It tells the Website visitor, what he/she is missing on the page if the browser cannot load images. The browser will then display the altertnate text instead of the image. It is good to include alt attribute for each image on a page to improve the appearance and usefulness of the document.
Question 2. Write the HTML code to display an image on the right side of the page. CBSE 2016