Code
Execute
<!DOCTYPE html> <html> <head> <title>wikitechy figure tag </title> <base href="../try-it/"> </head> <body> <h2> HTML figure tag with example</h2> <figure> <img src="https://www.wikitechy.com/images/logo.png" alt="Wikitechy logo" width="300" height="200"> </figure> </body> </html>
Result