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!
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