In HTML5 the ............ element is used to include images, graphs and…
2022
In HTML5 the ............ element is used to include images, graphs and compound objects that contain text and images in webpage.
- A.
<figure>
- B.
<fig>
- C.
<photo>
- D.
<pic>
Attempted by 87 students.
Show answer & explanation
Correct answer: A
The <figure> element is used to group self-contained content such as:
Images
Graphs
Diagrams
Charts
Code snippets
Compound objects containing text and images
It is often accompanied by a caption using the <figcaption> element.
Example:
Therefore, the correct answer is:
Answer: A) <figure>