Home > Web Front-end > HTML Tutorial > Add a title to a
element in HTML5

Add a title to a
element in HTML5

WBOY
Release: 2023-09-08 16:45:09
forward
1359 people have browsed it

Add a title to a <figure> element in HTML5

To add a title to the

element, use the
tag. You can try running the following code to include the title of the
element in HTML5 -

<!DOCTYPE html>
<html>
   <head>
      <title>HTML figcaption Tag</title>
   </head>
   <body>
      <figure><img  src = "https://www.tutorialspoint.com/videotutorials/images/tutorial_library_home.jpg"/ alt="Add a title to a <figure> element in HTML5" >
         <figcaption>Tutorials Point Library of Tutorials</figcaption>
      </figure>
   </body>
</html>
Copy after login

The above is the detailed content of Add a title to a

element in HTML5. For more information, please follow other related articles on the PHP Chinese website!

source:tutorialspoint.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template