HTML Quiz Multiple Choice Questions [Top 80]: We will cover MCQs on the same topic.
HTML MCQs | HTML Online Quiz | HTML Multiple Choice Questions and Answers PDF
Question 1:
What does HTML stand for?
a) HyperText Markup Language
b) High-level text Machine Language
c) Hyperlink and Text Markup Language
d) Hyper Transfer Markup Language
Answer: a) HyperText Markup Language
Question 2:
Which HTML tag is used to define the structure of an HTML document?
a) <header>
b) <structure>
c) <html>
d) <document>
Answer: c) <html>
Question 3:
What is the purpose of the <head>
element in an HTML document?
a) To define the main content of the document
b) To provide metadata about the document
c) To create a header section at the top of the page
d) To specify the main heading of the document
Answer: b) To provide metadata about the document
Question 4:
Which HTML tag is used to create a hyperlink?
a) <link>
b) <a>
c) <hlink>
d) <url>
Answer: b) <a>
Question 5:
What is the purpose of the <img>
tag in HTML?
a) To create a clickable button
b) To embed an image in the document
c) To define a paragraph of text
d) To set the document background image
Answer: b) To embed an image in the document
Question 6:
Which HTML tag is used to define a table?
a) <tbl>
b) <table>
c) <tab>
d) <tr>
Answer: b) <table>
Question 7:
What does the acronym “HTML5” represent?
a) HyperText Markup Language 5
b) High-Level Text Machine Language 5
c) Hyperlink and Text Markup Language 5
d) Hyper Transfer Markup Language 5
Answer: a) HyperText Markup Language 5
Question 8:
Which HTML element is used to create an ordered list?
a) <ol>
b) <ul>
c) <li>
d) <list>
Answer: a) <ol>
Question 9:
What is the purpose of the <div>
element in HTML?
a) To define a division or a section in the document
b) To create a clickable link
c) To define a document heading
d) To insert a line break in the text
Answer: a) To define a division or a section in the document
Question 10:
Which HTML tag is used to define the main heading in a document?
a) <heading>
b) <title>
c) <main>
d) <h1>
Answer: d) <h1>
Question 11:
What is the purpose of the <form>
element in HTML?
a) To define a formatted text
b) To create a form to collect user input
c) To embed a video in the document
d) To set the document font style
Answer: b) To create a form to collect user input
Question 12:
Which HTML tag is used to create a line break?
a) <br>
b) <lb>
c) <newline>
d) <linebreak>
Answer: a) <br>
Question 13:
What is the purpose of the <meta>
tag in the <head>
section of an HTML document?
a) To define a metadata section for the document
b) To create a new paragraph
c) To insert a horizontal rule in the document
d) To define a meta description for search engines
Answer: d) To define a meta description for search engines
Question 14:
Which HTML tag is used to define an unordered list?
a) <ol>
b) <ul>
c) <li>
d) <list>
Answer: b) <ul>
Question 15:
What is the purpose of the <span>
element in HTML?
a) To define a block of code
b) To create a clickable link
c) To apply styles or scripts to a specific part of the text
d) To insert a horizontal rule in the document
Answer: c) To apply styles or scripts to a specific part of the text
Question 16:
Which HTML tag is used to create a hyperlink to an email address?
a) <mail>
b) <link>
c) <email>
d) <a>
Answer: d) <a>
Question 17:
What is the purpose of the <iframe>
element in HTML?
a) To create an inline frame for embedding external content
b) To define a formatted text
c) To insert an image in the document
d) To create a new paragraph
Answer: a) To create an inline frame for embedding external content
Question 18:
Which HTML attribute is used to define alternative text for an image?
a) alt
b) src
c) title
d) desc
Answer: a) alt
Question 19:
What does the HTML tag <blockquote>
represent?
a) A block-level quotation
b) A bolded text block
c) A block of code
d) A bullet-point list
Answer: a) A block-level quotation
Question 20:
Which HTML tag is used to define a hyperlink to another web page?
a) <link>
b) <a>
c) <hlink>
d) <url>
Answer: b) <a>
Question 21:
What is the purpose of the HTML attribute colspan
in a <td>
element?
a) To specify the width of the column
b) To merge multiple table cells horizontally
c) To define the color of the text
d) To create a hyperlink
Answer: b) To merge multiple table cells horizontally
Question 22:
Which HTML tag is used to define a horizontal rule?
a) <rule>
b) <hr>
c) <line>
d) <hline>
Answer: b) <hr>
Question 23:
What does the acronym “HTML” stand for?
a) HyperText Makeup Language
b) High-Level Text Machine Language
c) Hyperlink and Text Markup Language
d) Hyper Transfer Markup Language
Answer: c) Hyperlink and Text Markup Language
Question 24:
Which HTML tag is used to define the body of the document?
a) <body>
b) <content>
c) <document>
d) <main>
Answer: a) <body>
Question 25:
What is the purpose of the HTML attribute target
in the <a>
element?
a) To set the link color
b) To specify the link destination
c) To open the link in a new window or tab
d) To define the link type
Answer: c) To open the link in a new window or tab
Question 26:
Which HTML tag is used to define a subscript text?
a) <sub>
b) <sup>
c) <subscript>
d) <baseline>
Answer: a) <sub>
Question 27:
What is the purpose of the HTML attribute src
in the <script>
element?
a) To set the source of an image
b) To specify the source code file
c) To define the source of an audio file
d) To specify the source URL of an external script
Answer: d) To specify the source URL of an external script
Question 28:
Which HTML tag is used to create a numbered list?
a) <ol>
b) <ul>
c) <li>
d) <list>
Answer: a) <ol>
Question 29:
What is the purpose of the HTML attribute href
in the <a>
element?
a) To define the heading of the link
b) To set the background color of the link
c) To specify the link destination URL
d) To apply styles to the link
Answer: c) To specify the link destination URL
Question 30:
Which HTML tag is used to define a block of code?
a) <code>
b) <block>
c) <pre>
d) <source>
Answer: c) <pre>
Question 31:
What is the purpose of the HTML <meta charset="UTF-8">
tag in the <head>
section?
a) To specify the character set and encoding for the document
b) To create a meta description for search engines
c) To define a header section for the document
d) To set the document font style
Answer: a) To specify the character set and encoding for the document
Question 32:
Which HTML tag is used to create an italicized text?
a) <i>
b) <italic>
c) <em>
d) <italics>
Answer: c) <em>
Question 33:
What is the purpose of the HTML attribute colspan
in a <th>
element?
a) To specify the width of the column
b) To merge multiple table cells horizontally
c) To define the color of the text
d) To create a hyperlink
Answer: b) To merge multiple table cells horizontally
Question 34:
Which HTML tag is used to define a definition list?
a) <list>
b) <dl>
c) <ul>
d) <ol>
Answer: b) <dl>
Question 35:
What is the purpose of the HTML attribute disabled
in the <input>
element?
a) To disable the input field from receiving user input
b) To enable the input field for user interaction
c) To define the default value of the input field
d) To specify the input field width
Answer: a) To disable the input field from receiving user input
Question 36:
Which HTML tag is used to define a navigation menu?
a) <nav>
b) <menu>
c) <navbar>
d) <navigation>
Answer: a) <nav>
Question 37:
What is the purpose of the HTML attribute placeholder
in the <input>
element?
a) To set the default value of the input field
b) To specify the input field width
c) To provide a short hint that describes the expected value of the input field
d) To disable the input field
Answer: c) To provide a short hint that describes the expected value of the input field
Question 38:
Which HTML tag is used to define a horizontal line?
a) <line>
b) <hr>
c) <hline>
d) <rule>
Answer: b) <hr>
Question 39:
What is the purpose of the HTML attribute target
in the <form>
element?
a) To set the target frame or window where the form data should be submitted
b) To specify the form action
c) To define the form method (GET or POST)
d) To create a form reset button
Answer: a) To set the target frame or window where the form data should be submitted
Question 40:
Which HTML tag is used to create a superscript text?
a) <super>
b) <sup>
c) <sups>
d) <baseline>
Answer: b) <sup>
Question 41:
What is the purpose of the HTML attribute value
in the <input>
element?
a) To define the default value of the input field
b) To specify the input field width
c) To set the input field as required
d) To create a checkbox or radio button
Answer: a) To define the default value of the input field
Question 42:
Which HTML tag is used to define a paragraph of text?
a) <p>
b) <paragraph>
c) <para>
d) <text>
Answer: a) <p>
Question 43:
What is the purpose of the HTML attribute multiple
in the <select>
element?
a) To allow multiple selections in a dropdown list
b) To disable the dropdown list
c) To set the default selection in the list
d) To create a multi-line text input
Answer: a) To allow multiple selections in a dropdown list
Question 44:
Which HTML tag is used to create an unordered list?
a) <ol>
b) <ul>
c) <li>
d) <list>
Answer: b) <ul>
Question 45:
What is the purpose of the HTML attribute maxlength
in the <input>
element?
a) To specify the maximum width of the input field
b) To set the maximum value for a number input
c) To define the maximum length of the input field’s value
d) To disable user input in the field
Answer: c) To define the maximum length of the input field’s value
Question 46:
Which HTML tag is used to define a line break within text?
a) <nl>
b) <line>
c) <break>
d) <br>
Answer: d) <br>
Question 47:
What is the purpose of the HTML attribute checked
in the <input>
element?
a) To set the default checked state for a checkbox or radio button
b) To define the maximum length of the input field
c) To disable user input in the field
d) To create a checkbox or radio button
Answer: a) To set the default checked state for a checkbox or radio button
Question 48:
Which HTML tag is used to create a subscript text?
a) <sub>
b) <baseline>
c) <sup>
d) <subscript>
Answer: a) <sub>
Question 49:
What is the purpose of the HTML attribute colgroup
in the <table>
element?
a) To group multiple columns in a table
b) To specify the background color of the table
c) To define a column heading in a table
d) To create a grouped list within a table
Answer: a) To group multiple columns in a table
Question 50:
Which HTML tag is used to define a division or section within an HTML document?
a) <section>
b) <div>
c) <division>
d) <area>
Answer: b) <div>
Question 51:
What is the purpose of the HTML attribute srcset
in the <img>
element?
a) To set the source URL of the image
b) To define the image width and height
c) To provide a list of possible images to be displayed, based on the device’s capabilities
d) To specify the image alt text
Answer: c) To provide a list of possible images to be displayed, based on the device’s capabilities
Question 52:
Which HTML tag is used to define a block of code?
a) <code>
b) <block>
c) <pre>
d) <source>
Answer: c) <pre>
Question 53:
What is the purpose of the HTML attribute async
in the <script>
element?
a) To define the script as an asynchronous script, allowing it to be executed independently of the document
b) To specify the script source URL
c) To load the script after the document has finished parsing
d) To create an audio player in the document
Answer: a) To define the script as an asynchronous script, allowing it to be executed independently of the document
Question 54:
Which HTML tag is used to create a hyperlink to an external style sheet?
a) <style>
b) <link>
c) <css>
d) <external>
Answer: b) <link>
Question 55:
What is the purpose of the HTML attribute autocomplete
in the <form>
element?
a) To define the form action
b) To disable the form
c) To specify whether the browser should autocomplete the input values
d) To create a form reset button
Answer: c) To specify whether the browser should autocomplete the input values
Question 56:
Which HTML tag is used to create a container for navigation links?
a) <nav>
b) <menu>
c) <navbar>
d) <navigation>
Answer: a) <nav>
Question 57:
What is the purpose of the HTML attribute required
in the <input>
element?
a) To set the input field as required for user input
b) To specify the input field width
c) To define the default value of the input field
d) To disable the input field
Answer: a) To set the input field as required for user input
Question 58:
Which HTML tag is used to define a list item in an ordered or unordered list?
a) <li>
b) <list>
c) <item>
d) <ul>
Answer: a) <li>
Question 59:
What is the purpose of the HTML attribute datetime
in the <time>
element?
a) To define the date and time of the document creation
b) To set the time zone for the document
c) To create a countdown timer
d) To specify the date and time associated with the content
Answer: d) To specify the date and time associated with the content
Question 60:
Which HTML tag is used to define a definition term in a description list?
a) <term>
b) <dt>
c) <def>
d) <description>
Answer: b) <dt>
Question 61:
What is the purpose of the HTML attribute contenteditable
?
a) To specify the content type of an element
b) To enable or disable the editing of content within an element
c) To set the text content of an element
d) To define the character encoding of the document
Answer: b) To enable or disable the editing of content within an element
Question 62:
Which HTML tag is used to define a variable in a mathematical or programming context?
a) <var>
b) <variable>
c) <math>
d) <code>
Answer: a) <var>
Question 63:
What is the purpose of the HTML attribute download
in the <a>
element?
a) To create a downloadable link for a file or resource
b) To specify the link destination URL
c) To define the document download location
d) To enable the automatic download of the linked file
Answer: a) To create a downloadable link for a file or resource
Question 64:
Which HTML tag is used to define a figure and its caption?
a) <image>
b) <figcaption>
c) <figure>
d) <caption>
Answer: c) <figure>
Question 65:
What is the purpose of the HTML attribute lang
in the <html>
tag?
a) To specify the length of the document
b) To set the language of the document
c) To define the layout of the document
d) To create a hyperlink to an external language file
Answer: b) To set the language of the document
Question 66:
Which HTML tag is used to define the base URL for all relative URLs within the document?
a) <url>
b) <base>
c) <root>
d) <link>
Answer: b) <base>
Question 67:
What is the purpose of the HTML attribute sandbox
in the <iframe>
element?
a) To disable the iframe content
b) To set the iframe source URL
c) To create a sandbox environment for the iframe
d) To define the iframe width and height
Answer: c) To create a sandbox environment for the iframe
Question 68:
Which HTML tag is used to define the keyboard input?
a) <key>
b) <kbd>
c) <input>
d) <keyboard>
Answer: b) <kbd>
Question 69:
What is the purpose of the HTML attribute defer
in the <script>
element?
a) To load the script after the document has finished parsing
b) To define the script as an asynchronous script
c) To set the source URL of the script
d) To create an audio player in the document
Answer: a) To load the script after the document has finished parsing
Question 70:
Which HTML tag is used to define a section that contains navigation links?
a) <nav>
b) <section>
c) <links>
d) <navbar>
Answer: a) <nav>
Question 71:
What is the purpose of the HTML attribute role
?
a) To define the role of an HTML element in an accessible way
b) To set the alignment of the element
c) To create a rollover effect for an element
d) To specify the role of a document section
Answer: a) To define the role of an HTML element in an accessible way
Question 72:
Which HTML tag is used to define a time-related element?
a) <time>
b) <datetime>
c) <clock>
d) <date>
Answer: a) <time>
Question 73:
What is the purpose of the HTML attribute autofocus
in the <input>
element?
a) To specify the input field width
b) To set the input field as required for user input
c) To enable or disable user input in the field
d) To focus on the input field automatically when the page loads
Answer: d) To focus on the input field automatically when the page loads
Question 74:
Which HTML tag is used to define a summary or legend for a <details>
element?
a) <legend>
b) <desc>
c) <summary>
d) <info>
Answer: c) <summary>
Question 75:
What is the purpose of the HTML attribute async
in the <img>
element?
a) To set the image source URL
b) To define the image width and height
c) To specify whether the image should be loaded asynchronously
d) To create an alternative text for the image
Answer: c) To specify whether the image should be loaded asynchronously
Question 76:
What is the purpose of the HTML <mark>
tag?
a) To create a highlighted text
b) To define a list item within a list
c) To specify the document language
d) To set the background color of a section
Answer: a) To create a highlighted text
Question 77:
Which HTML tag is used to define a container for an external application or interactive content?
a) <applet>
b) <embed>
c) <object>
d) <iframe>
Answer: d) <iframe>
Question 78:
What is the purpose of the HTML attribute list
in the <input>
element?
a) To define a list of options for a dropdown menu
b) To create a list element in the document
c) To specify the input field width
d) To associate the input with a datalist
Answer: d) To associate the input with a datalist
Question 79:
Which HTML tag is used to define the navigation links within a document?
a) <links>
b) <nav>
c) <navbar>
d) <navigation>
Answer: b) <nav>
Question 80:
What is the purpose of the HTML attribute spellcheck
in the <textarea>
element?
a) To enable or disable spellchecking for the textarea
b) To define the maximum length of the textarea content
c) To specify the textarea width and height
d) To set the default value of the textarea
Answer: a) To enable or disable spellchecking for the textarea
Question 81:
Which HTML tag is used to define a container for the main content of an HTML document?
a) <content>
b) <body>
c) <main>
d) <section>
Answer: c) <main>
Question 82:
What is the purpose of the HTML attribute poster
in the <video>
element?
a) To define the video source URL
b) To specify the width and height of the video
c) To set the video playback speed
d) To provide a preview image for the video
Answer: d) To provide a preview image for the video
Question 83:
Which HTML tag is used to define the container for navigation links in a navigation bar?
a) <links>
b) <nav>
c) <navbar>
d) <navigation>
Answer: b) <nav>
Question 84:
What is the purpose of the HTML attribute translate
in the <span>
element?
a) To specify whether the content should be translated
b) To create a translation link
c) To define the translation language for the content
d) To set the translation speed
Answer: a) To specify whether the content should be translated
Question 85:
Which HTML tag is used to define a description list item?
a) <dl>
b) <dd>
c) <dt>
d) <list-item>
Answer: b) <dd>
Question 86:
What is the purpose of the HTML attribute integrity
in the <script>
element?
a) To define the script source URL
b) To specify the script type
c) To ensure the integrity of the script file using a cryptographic hash
d) To set the script as asynchronous
Answer: c) To ensure the integrity of the script file using a cryptographic hash
Question 87:
Which HTML tag is used to define a keyboard input?
a) <key>
b) <kbd>
c) <input>
d) <keyboard>
Answer: b) <kbd>
Question 88:
What is the purpose of the HTML attribute width
in the <canvas>
element?
a) To specify the width of the canvas element
b) To set the background color of the canvas
c) To define the canvas content width
d) To create a canvas for drawing
Answer: a) To specify the width of the canvas element
Question 89:
Which HTML tag is used to define a container for the metadata in a document?
a) <meta>
b) <metadata>
c) <head>
d) <container>
Answer: c) <head>
Question 90:
What is the purpose of the HTML attribute ping
in the <a>
element?
a) To specify the link destination URL
b) To set the link type
c) To define a list of URLs to be notified when the link is followed
d) To create a pingback link
Answer: c) To define a list of URLs to be notified when the link is followed
Question 91:
Which HTML tag is used to define a group of media content, such as audio or video?
a) <media>
b) <group>
c) <multimedia>
d) <figure>
Answer: d) <figure>
Question 92:
What is the purpose of the HTML attribute controls
in the <audio>
element?
a) To define the audio source URL
b) To set the audio volume
c) To create playback controls for the audio
d) To specify the audio playback speed
Answer: c) To create playback controls for the audio
Question 93:
Which HTML tag is used to define a navigation bar within an HTML document?
a) <nav>
b) <navbar>
c) <nav-bar>
d) <navigation>
Answer: a) <nav>
Question 94:
What is the purpose of the HTML attribute autocorrect
in the <input>
element?
a) To enable or disable autocorrection for the input field
b) To define the input field width
c) To specify the default value of the input field
d) To disable user input in the field
Answer: a) To enable or disable autocorrection for the input field
Question 95:
Which HTML tag is used to define a hyperlink to an external style sheet?
a) <style>
b) <link>
c) <css>
d) <external>
Answer: b) <link>
Question 96:
What is the purpose of the HTML attribute content
in the <meta>
tag?
a) To specify the character set and encoding for the document
b) To create a meta description for search engines
c) To define a header section for the document
d) To provide metadata about the document
Answer: b) To create a meta description for search engines
Question 97:
Which HTML tag is used to define a caption for a table?
a) <caption>
b) <title>
c) <heading>
d) <table-caption>
Answer: a) <caption>
Question 98:
What is the purpose of the HTML attribute reversed
in the <ol>
element?
a) To reverse the order of list items in the ordered list
b) To set the list as a reversed list
c) To specify the list item numbering style
d) To create a list with reversed numbering
Answer: a) To reverse the order of list items in the ordered list
Question 99:
Which HTML tag is used to define the source of an embedded content, such as an image or video?
a) <source>
b) <embed>
c) <content>
d) <file>
Answer: a) <source>
Question 100:
What is the purpose of the HTML attribute datetime
in the <time>
element?
a) To specify the date and time of the document creation
b) To set the time zone for the document
c) To create a countdown timer
d) To specify the date and time associated with the content
Answer: d) To specify the date and time associated with the content
Question 101:
Which HTML tag is used to define a container for interactive content or script in an HTML document?
a) <interactive>
b) <script>
c) <code>
d) <container>
Answer: b) <script>
Question 102:
What is the purpose of the HTML attribute hidden
in an HTML element?
a) To define the element as hidden and not displayed
b) To set the default value of the element
c) To create a hidden hyperlink
d) To hide the element only from search engines
Answer: a) To define the element as hidden and not displayed
Question 103:
Which HTML tag is used to define a hyperlink to an email address?
a) <link>
b) <a>
c) <email>
d) <mailto>
Answer: b) <a>
Question 104:
What is the purpose of the HTML attribute controls
in the <video>
element?
a) To define the video source URL
b) To set the video playback speed
c) To create playback controls for the video
d) To specify the video width and height
Answer: c) To create playback controls for the video
Question 105:
Which HTML tag is used to define a progress bar?
a) <progress>
b) <bar>
c) <status>
d) <meter>
Answer: a) <progress>
HTML Interview Questions
HTML Basics:
- What is HTML, and what does the acronym stand for?
- Explain the difference between HTML and XHTML.
- What is the purpose of the
DOCTYPE
declaration in HTML? - What is the significance of the
<meta charset="UTF-8">
tag in HTML? - How do you create a hyperlink in HTML?
- Explain the purpose of the
<div>
and<span>
elements in HTML. - What is the difference between inline and block-level elements in HTML? Can you provide examples of each?
- How do you comment out code in HTML?
- Explain the purpose of the
<img>
tag, and how do you specify alternative text for an image? - What is semantic HTML, and why is it important for web development?
HTML Forms:
- How do you create a form in HTML, and what is the role of the
<form>
element? - Explain the purpose of the
<input>
element, and provide examples of different input types. - What is the difference between the
GET
andPOST
methods in HTML forms? - How can you create a dropdown list in HTML?
- What is the purpose of the
label
element in HTML forms, and how does it improve accessibility?
HTML5 Features:
- What are the new features introduced in HTML5?
- Explain the purpose of the
<article>
,<section>
,<header>
, and<footer>
elements in HTML5. - How does HTML5 support multimedia, and what are the
<audio>
and<video>
elements used for? - Discuss the
<canvas>
element in HTML5 and its applications. - What is the purpose of the
<details>
and<summary>
elements in HTML5?
HTML Accessibility:
- How can you improve the accessibility of a website using HTML?
- Explain the importance of providing alternative text for images.
- What is ARIA, and how can it be used to enhance accessibility in HTML?
Responsive Web Design:
- How can you make a webpage responsive using HTML and CSS?
- Explain the purpose of the
<meta name="viewport">
tag in the context of responsive web design.
HTML interview questions for experienced professionals
HTML Basics:
- Explain the DOCTYPE declaration in HTML and its significance.
- What is the purpose of the
<meta>
tag, and how is it used in HTML? - Describe the differences between HTML and XHTML.
- Explain the significance of the
lang
attribute in the HTML<html>
tag. - How does HTML5 differ from its predecessors, and what new features does it introduce?
HTML Semantics:
- Explain the importance of semantic HTML and provide examples of semantic elements.
- Discuss the role of headings (
<h1>
to<h6>
) in HTML and how they contribute to document structure. - What is the purpose of the
<figure>
and<figcaption>
elements in HTML5? - Explain the differences between
<div>
and<span>
elements and when to use each. - How can you create accessible forms in HTML, and what are the best practices for form labels?
HTML Forms:
- Discuss the various input types in HTML5, including their attributes and use cases.
- Explain the purpose of the
<datalist>
element and how it is used with the<input>
element. - Describe the differences between the
GET
andPOST
methods in HTML forms. - How can you implement form validation in HTML, and what role does the
pattern
attribute play? - Explain the use of the
<fieldset>
and<legend>
elements in HTML forms.
HTML Accessibility:
- Discuss the importance of ARIA roles in creating accessible HTML documents.
- Explain the concept of landmark roles and provide examples of HTML elements that can serve as landmarks.
- How can you ensure that your HTML documents are accessible to users with disabilities?
- What is the purpose of the
alt
attribute in HTML images, and why is it important for accessibility? - Explain the role of semantic HTML in enhancing screen reader compatibility.
HTML Multimedia:
- Describe the
<audio>
and<video>
elements in HTML5, including their attributes. - How can you embed external content, such as YouTube videos, in an HTML document?
- Explain the purpose of the
<picture>
element in HTML and how it contributes to responsive images. - Discuss the differences between the
<img>
and<picture>
elements for handling images. - What is lazy loading, and how can it be implemented for images in HTML?
Related Queries: