Online Computer Courses Classes and Training Program

MCQ for Class VII based on HTML topics like image, table, list, and link

Here are 20 multiple-choice questions (MCQs) for Class VII based on HTML topics like image, table, list, and link:


HTML Basics

  1. What does HTML stand for?
    a) Hyper Text Making Language
    b) Hyper Text Markup Language
    c) Hyperlink Text Markup Language
    d) High Text Markup Language
    Answer: b

  2. Which tag is used to create a hyperlink in HTML?
    a) <img>
    b) <a>
    c) <link>
    d) <href>
    Answer: b

  3. Which tag is used to insert an image in HTML?
    a) <img>
    b) <image>
    c) <src>
    d) <pic>
    Answer: a

  4. What attribute is used to specify the URL of an image?
    a) href
    b) src
    c) link
    d) alt
    Answer: b

  5. HTML files are saved with which extension?
    a) .htm
    b) .html
    c) Both a and b
    d) .web
    Answer: c


Images in HTML

  1. What does the alt attribute in the <img> tag define?
    a) Image size
    b) Image color
    c) Alternative text for the image
    d) Image format
    Answer: c

  2. Which of the following is the correct syntax for adding an image?
    a) <img source="image.jpg">
    b) <img src="image.jpg">
    c) <image src="image.jpg">
    d) <picture src="image.jpg">
    Answer: b


Tables in HTML

  1. Which tag is used to create a table in HTML?
    a) <table>
    b) <tr>
    c) <td>
    d) All of the above
    Answer: d

  2. What does <th> stand for in a table?
    a) Table Heading
    b) Table Hyperlink
    c) Table Header
    d) Table Holder
    Answer: c

  3. Which tag is used to create a table row?
    a) <row>
    b) <tr>
    c) <td>
    d) <th>
    Answer: b

  4. How do you merge two or more columns in a table?
    a) Use the merge attribute
    b) Use the colspan attribute
    c) Use the rowspan attribute
    d) Use the align attribute
    Answer: b


Lists in HTML

  1. Which tag is used to create an ordered list?
    a) <ul>
    b) <ol>
    c) <li>
    d) <list>
    Answer: b

  2. What type of list is created using the <ul> tag?
    a) Numbered list
    b) Bulleted list
    c) Description list
    d) Linked list
    Answer: b

  3. Which tag is used to define individual items in a list?
    a) <item>
    b) <li>
    c) <list>
    d) <ol>
    Answer: b

  4. Which attribute is used to specify the type of bullet in an unordered list?
    a) type
    b) style
    c) bullet
    d) list-type
    Answer: a


Links in HTML

  1. Which attribute is used to specify the URL of a link?
    a) src
    b) href
    c) link
    d) target
    Answer: b

  2. What is the target="_blank" attribute used for in a hyperlink?
    a) To open the link in a new tab or window
    b) To make the link bold
    c) To underline the link
    d) To add a border to the link
    Answer: a

  3. Which is the correct syntax for creating a link?
    a) <a href="https://example.com">Example</a>
    b) <link href="https://example.com">Example</link>
    c) <url href="https://example.com">Example</url>
    d) <a>Example</a>
    Answer: a


Miscellaneous

  1. What is the purpose of the <br> tag?
    a) To create a bold text
    b) To insert a horizontal line
    c) To break a line
    d) To change the background color
    Answer: c

  2. Which tag is used to create a dropdown list in HTML?
    a) <select>
    b) <dropdown>
    c) <list>
    d) <input>
    Answer: a




These questions are designed to test basic understanding and practical usage of HTML concepts. 

यहाँ HTML से संबंधित 10 True/False प्रश्न दिए गए हैं:

  1. HTML stands for HyperText Markup Language.
    True

  2. The <img> tag is used to add a hyperlink to a webpage.
    False

  3. The <table> tag is used to create tables in HTML.
    True

  4. The <ul> tag is used to create an ordered list.
    False

  5. The alt attribute in the <img> tag provides alternative text for an image.
    True

  6. The <a> tag is used to add images to a webpage.
    False

  7. The <th> tag defines a table header in an HTML table.
    True

  8. An HTML file can only be saved with a .htm extension.
    False

  9. The href attribute in the <a> tag specifies the URL of a link.
    True

  10. The <br> tag is used to create a line break in HTML.
    True


यहाँ HTML से संबंधित 10 Fill in the Blanks प्रश्न दिए गए हैं:

  1. HTML stands for ________ ________ Markup Language.
    Answer: Hyper Text

  2. The ________ tag is used to create hyperlinks in HTML.
    Answer: <a>

  3. The <img> tag requires the ________ attribute to specify the image URL.
    Answer: src

  4. An ordered list is created using the ________ tag in HTML.
    Answer: <ol>

  5. The ________ attribute in the <img> tag provides alternative text for an image.
    Answer: alt

  6. A table row is created using the ________ tag in HTML.
    Answer: <tr>

  7. The ________ attribute in the <a> tag is used to open the link in a new tab.
    Answer: target="_blank"

  8. The <ul> tag is used to create a ________ list in HTML.
    Answer: unordered

  9. The ________ tag is used to merge columns in an HTML table.
    Answer: colspan

  10. The <br> tag is used to insert a ________ break in HTML.
    Answer: line


Post a Comment

0 Comments