Create self-contained content in HTML5

HTMLWeb DevelopmentFront End Technology

Use the <figure> tag to create self-contained content. You can try to run the following code to implement <figure> tag in HTML5 −

Example

Live Demo

<!DOCTYPE html>
<html>
   <head>
      <title>HTML figure Tag</title>
   </head>
   
   <body>
      <h2>Tutorialspoint Coding Ground</h2>
      <figure>
         <img src = "https://www.tutorialspoint.com/videotutorials/images/coding_ground_home.jpg"/>
      </figure>
   </body>
</html>
raja
Published on 13-Mar-2018 11:41:53
Advertisements