• Home
  • Courses
  • School
  • Programs
  • Problems
  • Contact Us
  • My account
  • Register

Have any question?

(+91) 98222 16647
info@simplycoding.in
RegisterLogin
Simply Coding
  • Home
  • Courses
  • School
  • Programs
  • Problems
  • Contact Us
  • My account
  • Register

HTML

HTML Image Tag Question Bank

  • Categories HTML, HTML, Web Designing

This post contains 1 mark questions on the topic of HTML Images in the form of MCQs, fill in the blanks and true or false statements. These questions are in accordance with the new revised format of 2020.

Fill the following blanks:

  1. The <img> tag is an _________ tag, that means it has no closing tag.                             

Ans. empty

  1. <img> tag is used for _________ images.               

Ans. displaying

  1. __________ tag is used to create inline images.                              

Ans. <img>

  1. ___________ is an attribute of the <img> tag which specifies the location or URL of the image to be displayed.

Ans. src

  1. An attribute is an extra piece of information associated with a ___________

Ans. tag

  1. The ait attribute provides __________ for an image.

Ans. alternative information

  1. An image to be displayed in a Web page has to cover 25% of the browser window horizontally and 50% vertically. The attributes _________ and _________of the <img> tag would be used for achieving this.                                           

Ans. height, width

  1. ______ attribute is used to give border to an image.                                                              

Ans.  border

  1. The _________ tag is considered to establish a hypertext relationship between the current document and another URL.                             

Ans.  <a>

  1. The value for alt attribute is a text string of upto _________characters.

Ans. 1024

  1. Using the __________ type URL, you can create the E-mail hyperlink.                             

Ans. Maillot

Multiple Choice Questions:

  1. Web browsers display images in the following format
    1. XBM
    2. JPEG
    3. GIF
    4. All of these

Ans. 4

  1. Which tag is used to insert an image in Web page?
    1. <a>
    2. <table>
    3. <img>
    4. <p>

Ans. 3

  1. The correct HTML code for inserting an image is
    1. <img href=”image.gif”>
    2. <img> image.gif</gif>
    3. <img src = “image.gif”>
    4. <image src = “image.gif” >

Ans. 3

  1. src attribute used with <img> tag stands for     
    1. screen
    2. screen resolution count
    3. source
    4. structure

Ans. 3

  1. _________ attribute is used to specify the location of an image file.
    1. alt
    2. src
    3. align
    4. name

Ans. 2

  1. The text specified in the alt attribute is displayed as tooltip in
    1. Internet Explorer
    2. Google Chrome
    3. Both (a) and (b)
    4. None of these

Ans. 1

  1. The alternate text of an image can be displayed by using attribute of the <img> tag.
    1. src
    2. alt
    3. align
    4. None of these

Ans. 2

  1. alt attribute allows
    1. addition of an alternate hyperlink
    2. addition of a border to image
    3. use of an alternative image in place of the specified image
    4. addition of alternative text about an image

Ans. 4

  1. The default alignment of images, that are inserted in Web page, is
    1. left
    2. right
    3. inline with text
    4. middle

Ans. 3

  1. Which is not a valid value in the align attribute of <img> tag?    
    1. top
    2. center
    3. bottom
    4. right

Ans. 2

  1. Why is it important to specify width and height attribute in <img> tag?
    1. To ensure that image is not copied
    2. The image will not render without these
    3. To stop the image from loading
    4. Helps the browser to load the Web page faster

Ans. 4

  1. When creating a Web document, which unit is used to express an image’s height and width?
    1. Centimetres
    2. Pixels
    3. Dots per inch
    4. Inches

Ans. 2

  1. The attribute which is used to send E-mails through a Website.
    1. tomail
    2. mailto
    3. Both (a) and (b)
    4. None of these

Ans. 2

  1. Choose the correct syntax to create an E-mail link.
    1. <a href = “abc@xyz.com”>
    2. <a href = “mailto:abc@xyz.com”>
    3. email = “abc@xyz.com”>
    4. <amail = “abc@xyz.com”>

Ans. 2


State whether the following statements are true or false:

  1. You can have inserted an image in your Web page which is physically present in your computer.

Ans. True          

  1. If the image you are loading in the Web page is not available, then you want a text to appear in the image placeholder, text attribute lets you define this text.

Ans. False

  1. No value is specified with alt attribute of <img> tag. 

Ans. False

  1. The general syntax for inline image is <img src = “file name” >.

Ans. True          

  • Share:
author avatar
Simply Coding

Previous post

HTML Tables Question Bank
October 29, 2020

Next post

E-Mail and FTP: Question Bank
October 30, 2020

You may also like

HTML Table tags
HTML Table Tags
14 June, 2021
HTML List
HTML List Tags
14 June, 2021
Audio and Video tag in HTML
HTML Audio and Video tags
14 June, 2021

Leave A Reply Cancel reply

You must be logged in to post a comment.

Categories

  • Uncategorized
  • Programs
    • Python
    • Java
  • Problems
    • Python
    • Java
    • Web Development
      • Internet
    • Emerging Technologies
  • Notes
    • General
    • QBasic
    • MS Access
    • Web Development
      • XML
      • HTML
      • JavaScript
      • Internet
    • Database
    • Logo Programming
    • Scratch
    • Emerging Trends
      • Artificial Intelligence
      • Internet of Things
      • Cloud Computing
      • Machine Learning
    • Computer Fundamentals
      • Computer Networks
      • E-Services
      • Computer Hardware
    • Python
    • Java
  • School
    • ICSE
      • Computers Class 9
        • Java Introduction
        • Tokens & Data Types
        • Java Operators
        • Math Library
        • if & switch
        • For & While
        • Nested loops
      • Computer Class 10
        • Sample Papers
        • OOPS concepts
        • Functions in Java
        • Constructors
        • Arrays in Java
        • Strings in Java
    • SSC
      • IT Class 11
        • IT Basics
        • DBMS
        • Web Designing
        • Cyber Laws
      • IT Class 12
        • Web Designing
        • SEO
        • Advanced JavaScript
        • Emerging Tech
        • Server Side Scripting
        • E-Com & E-Gov
      • Computer Science 11
      • Computer Science 12
    • CBSE
      • Computer 9
        • Basics of IT
        • Cyber Safety
        • Scratch
        • Python
      • Computer 10
        • Sample Papers
        • Networking
        • HTML
        • Cyber Ethics
        • Scratch
        • Python
      • Computer Science 11
        • Computer Systems
        • Python 11
          • Python Basics
          • Python Tokens
          • Python Operators
          • Python if-else
          • Python loops
          • Python Strings
          • Python List
          • Python Tuple
          • Python Dictionary
          • Python Modules
        • Data Management
      • Computer Science 12
        • Sample Papers
        • Python 12
          • Python Functions
          • Python File Handling
          • Python Libraries
          • Python Recursion
          • Data Structures
        • Computer Networks
        • Data Management
    • ISC
      • Computer Science 11
        • Introduction to Java
        • Values & Data Types
        • Operators
        • if & switch
        • Iterative Statements
        • Functions
        • Arrays
        • String
        • Data Structures
        • Cyber Ethics
      • Computer Science 12
        • Sample Papers
        • Boolean Algebra
        • OOPS
        • Wrapper Classes
        • Functions
        • Arrays
        • String
Simply Coding Computer Courses for School                Privacy Policy     Terms of Use     Contact Us

© 2021 Simply Coding

Login with your site account

Lost your password?

Not a member yet? Register now

Register a new account

Are you a member? Login now