Here are 20 multiple-choice questions (MCQs) for Class VII based on HTML topics like image, table, list, and link:
HTML Basics
-
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 -
Which tag is used to create a hyperlink in HTML?
a)<img>
b)<a>
c)<link>
d)<href>
Answer: b -
Which tag is used to insert an image in HTML?
a)<img>
b)<image>
c)<src>
d)<pic>
Answer: a -
What attribute is used to specify the URL of an image?
a) href
b) src
c) link
d) alt
Answer: b -
HTML files are saved with which extension?
a) .htm
b) .html
c) Both a and b
d) .web
Answer: c
Images in HTML
-
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 -
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
-
Which tag is used to create a table in HTML?
a)<table>
b)<tr>
c)<td>
d) All of the above
Answer: d -
What does
<th>
stand for in a table?
a) Table Heading
b) Table Hyperlink
c) Table Header
d) Table Holder
Answer: c -
Which tag is used to create a table row?
a)<row>
b)<tr>
c)<td>
d)<th>
Answer: b -
How do you merge two or more columns in a table?
a) Use themerge
attribute
b) Use thecolspan
attribute
c) Use therowspan
attribute
d) Use thealign
attribute
Answer: b
Lists in HTML
-
Which tag is used to create an ordered list?
a)<ul>
b)<ol>
c)<li>
d)<list>
Answer: b -
What type of list is created using the
<ul>
tag?
a) Numbered list
b) Bulleted list
c) Description list
d) Linked list
Answer: b -
Which tag is used to define individual items in a list?
a)<item>
b)<li>
c)<list>
d)<ol>
Answer: b -
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
-
Which attribute is used to specify the URL of a link?
a) src
b) href
c) link
d) target
Answer: b -
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 -
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
-
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 -
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 प्रश्न दिए गए हैं:
-
HTML stands for HyperText Markup Language.
True -
The
<img>
tag is used to add a hyperlink to a webpage.
False -
The
<table>
tag is used to create tables in HTML.
True -
The
<ul>
tag is used to create an ordered list.
False -
The
alt
attribute in the<img>
tag provides alternative text for an image.
True -
The
<a>
tag is used to add images to a webpage.
False -
The
<th>
tag defines a table header in an HTML table.
True -
An HTML file can only be saved with a
.htm
extension.
False -
The
href
attribute in the<a>
tag specifies the URL of a link.
True -
The
<br>
tag is used to create a line break in HTML.
True
यहाँ HTML से संबंधित 10 Fill in the Blanks प्रश्न दिए गए हैं:
-
HTML stands for ________ ________ Markup Language.
Answer: Hyper Text -
The ________ tag is used to create hyperlinks in HTML.
Answer:<a>
-
The
<img>
tag requires the ________ attribute to specify the image URL.
Answer:src
-
An ordered list is created using the ________ tag in HTML.
Answer:<ol>
-
The ________ attribute in the
<img>
tag provides alternative text for an image.
Answer:alt
-
A table row is created using the ________ tag in HTML.
Answer:<tr>
-
The ________ attribute in the
<a>
tag is used to open the link in a new tab.
Answer:target="_blank"
-
The
<ul>
tag is used to create a ________ list in HTML.
Answer: unordered -
The ________ tag is used to merge columns in an HTML table.
Answer:colspan
-
The
<br>
tag is used to insert a ________ break in HTML.
Answer: line
0 Comments
कमेंट केवल पोस्ट से रिलेटेड करें