The <figcaption> tag defines a caption for a figure element.
Syntax:
<figcaption> Figure caption </figcaption>
For example:-
<!DOCTYPE html>
<html>
<head>
<title>Figcaption Tag</title>
</head>
<body>
<h2>Coder Raj</h2>
<figure>
<img src="https://www.coderraj.com/img/logo.png" alt="logo" style="width:100%">
<figcaption>Coder Raj Logo</figcaption>
</figure>
</body>
</html>
Copyright ©2022 coderraj.com. All Rights Reserved.