Inserting Images and Links HTML MCQs
Inserting Images and Links in HTML – MCQs with Answers & Explanations
Class: 7 |
Subject: Computer Science |
Section: HTML and Web Designing |
Topic: Inserting Images and Links
Board: CBSE Board Examination
Board: CBSE Board Examination
These Multiple Choice Questions (MCQs) are designed strictly as per the NCERT syllabus, making them ideal for CBSE Class 7 Computer Science examination preparation.
1. Which tag is used to insert an image in HTML?
Correct Answer: B. <img>
The <img> tag is used to embed images in a webpage.2. The source of an image is defined using:
Correct Answer: B. src
The src attribute specifies the image file location.3. Which attribute shows alternate text?
Correct Answer: A. alt
Alt text appears if the image fails to load.4. Which tag creates hyperlinks?
Correct Answer: B. <a>
The anchor tag creates clickable links.5. Link destination is specified using:
Correct Answer: B. href
The href attribute stores the URL.6. Image width is set using:
Correct Answer: B. width
Defines image width in pixels or %.7. Image height is set using:
Correct Answer: A. height
Controls vertical size of image.8. Hyperlinks are:
Correct Answer: B
They connect webpages.9. Linking within same page uses:
Correct Answer: A
Internal links jump within page.10. Linking another website is:
Correct Answer: B
External links open other sites.11. Image as link uses:
Correct Answer: B
Image placed inside anchor tag.12. Target attribute is used to:
Correct Answer: B
Controls where link opens.13. target="_blank" means:
Correct Answer: B
Opens link in new tab.14. Correct image syntax is:
Correct Answer: A
Standard image tag format.15. Folder image path is called:
Correct Answer: B
Specifies location of file.16. Text link color is default:
Correct Answer: B
Browsers show blue links.17. Visited link color is:
Correct Answer: A
Visited links turn purple.18. Tooltip on image uses:
Correct Answer: B
Title shows hover text.19. Broken image shows:
Correct Answer: B
Alt text appears instead.20. Images improve webpages by:
Correct Answer: D
Images enhance design and understanding.