MCQs Of Class 13
Semantic HTML
1. Which HTML element is
used to define the navigation links in a web page?
o A) <header>
o B) <footer>
o C) <nav>
o D) <section>
Answer: C) <nav>
2. What is the purpose of
the <article> element in HTML?
o A) To define a
navigation bar
o B) To specify a piece of
content that is independent from the rest
o C) To create a footer
section
o D) To group a set of
related links
Answer: B) To specify a piece of content that is independent from
the rest
3. Which semantic HTML
element would you use to group a set of related content together?
o A) <div>
o B) <section>
o C) <span>
o D) <aside>
Answer: B) <section>
4. What does the
<footer> element typically contain?
o A) Main content of the
page
o B) Navigation links
o C) Information about the
author or copyright details
o D) The page header
Answer: C) Information about the author or copyright details
5. Which element should be
used to represent an introductory or summary content in a web page?
o A) <header>
o B) <main>
o C) <article>
o D) <section>
Answer: A) <header>
6. Which of the following
elements is appropriate for including a sidebar with additional information?
o A) <article>
o B) <section>
o C) <aside>
o D) <footer>
Answer: C) <aside>
7. What is the primary
function of the <main> element in HTML?
o A) To provide navigation
links
o B) To contain the
primary content of the document
o C) To add footer
information
o D) To group related
links
Answer: B) To contain the primary content of the document
8. When should you use the
<section> element?
o A) To define a
standalone piece of content
o B) To create a
navigation bar
o C) To group content that
forms a section of the page
o D) To display a footer
Answer: C) To group content that forms a section of the page
9. Which element is used to
display a single piece of content, such as a blog post or news article?
o A) <section>
o B) <footer>
o C) <article>
o D) <aside>
Answer: C) <article>
10.
What role does the <footer> element play in an HTML
document?
o A) It contains
information about the document's author or copyright
o B) It includes the
primary content of the page
o C) It groups related
pieces of content
o D) It defines a
navigation menu
Answer: A) It contains information about the document's author or
copyright
11.
Which HTML element is best used for a brief piece of content that
is tangentially related to the surrounding content?
o A) <article>
o B) <main>
o C) <aside>
o D) <section>
Answer: C) <aside>
12.
How does using semantic HTML elements benefit web development?
o A) They make the code
more visually appealing
o B) They improve
accessibility and SEO
o C) They reduce the file
size of the HTML document
o D) They speed up the
loading time of the page
Answer: B) They improve accessibility and SEO
13.
Which HTML tag would you use to include a contact form or a
section for user interaction at the end of the page?
o A) <article>
o B) <footer>
o C) <section>
o D) <header>
Answer: B) <footer>
14.
What is the main difference between <section> and
<article> elements?
o A) <section> is
used for grouping content, while <article> is used for independent
content.
o B) <section> is
for navigation, while <article> is for footers.
o C) <section> is
for form inputs, while <article> is for displaying images.
o D) <section> and
<article> are interchangeable.
Answer: A) <section> is used for grouping content, while
<article> is used for independent content.
15.
Which element would be most appropriate for creating a main
content area of a blog or news site?
o A) <footer>
o B) <aside>
o C) <section>
o D) <main>
Answer: D) <main>
16.
Which semantic element should be used to wrap content that represents
a document's heading or introductory content?
o A) <footer>
o B) <section>
o C) <header>
o D) <aside>
Answer: C) <header>
17.
Which tag is suitable for a section that contains related content
within a document, such as a group of related articles?
o A) <article>
o B) <footer>
o C) <section>
o D) <aside>
Answer: C) <section>
18.
What purpose does the <aside> element serve?
o A) It contains the main
content of a page.
o B) It is used for
content that is tangentially related to the content around it.
o C) It defines the
primary navigation links.
o D) It holds the
document's footer information.
Answer: B) It is used for content that is tangentially related to
the content around it.
19.
Which HTML element is typically used to provide introductory
information about a webpage or to include a brief summary of a section?
o A) <footer>
o B) <header>
o C) <section>
o D) <article>
Answer: B) <header>
20.
For creating a consistent structure across multiple web pages,
which HTML5 element would be ideal to include common footer content?
o A) <section>
o B) <header>
o C) <footer>
o D) <nav>
Answer: C) <footer>
21.
Which of the following HTML5 elements should be used to represent
a standalone piece of content like a blog post or news article?
o A) <section>
o B) <article>
o C) <main>
o D) <aside>
Answer: B) <article>
22.
To improve the semantic meaning of your HTML document, which of
these tags should you use to group thematic content together?
o A) <footer>
o B) <section>
o C) <div>
o D) <header>
Answer: B) <section>
23.
Which HTML5 element would be appropriate for a block of text that
serves as a side note or additional commentary?
o A) <article>
o B) <footer>
o C) <aside>
o D) <section>
Answer: C) <aside>
24.
What is the recommended HTML5 element for structuring the main
content of a webpage where the primary content is displayed?
o A) <footer>
o B) <main>
o C) <header>
o D) <section>
Answer: B) <main>
25.
Which of the following elements would you use to separate
different content sections in a long article or page?
o A) <article>
o B) <section>
o C) <aside>
o D) <header>
Answer: B) <section>
26.
Which HTML5 tag is used to define content that is not essential
but provides supplementary information?
o A) <article>
o B) <aside>
o C) <footer>
o D) <main>
Answer: B) <aside>
27.
To create a webpage layout where the header, footer, and main
content are distinctly separated, which elements should be used?
o A) <header>,
<main>, and <footer>
o B) <section>,
<article>, and <footer>
o C) <nav>,
<header>, and <aside>
o D) <main>,
<div>, and <span>
Answer: A) <header>, <main>, and <footer>
28.
In which HTML5 element would you typically place links to other
related articles or pages within a website?
o A) <footer>
o B) <nav>
o C) <section>
o D) <header>
Answer: B) <nav>
29.
What is the main difference between <footer> and
<aside> elements?
o A) <footer> is
used for the document's concluding information, while <aside> is used for
content that is related but not central.
o B) <footer> is for
navigation, while <aside> is for images.
o C) <footer> is
used for headings, while <aside> is for links.
o D) <footer> and
<aside> are the same and can be used interchangeably.
Answer: A) <footer> is used for the document's concluding
information, while <aside> is used for content that is related but not
central.
30.
Which semantic HTML5 element should be used to include a section
of a page that provides important information for the reader, such as a call to
action or significant content?
o A) <aside>
o B) <main>
o C) <section>
o D) <article>
Answer: C) <section>
