HTML - Figcaption Tag
Advertisements
Description
The HTML <figcaption> tag specifies a caption for an element.
Example
Live Demo<!DOCTYPE html> <html> <head> <title>HTML Figcaption Tag</title> </head> <body> <figure><img src = "http://www.tutorialspoint.com/scripts/img/logo.png"/> <figcaption>Tutorials Point Logo</figcaption> </figure> </body> </html>
This will produce the following result −
Global Attributes
This tag supports all the global attributes described in HTML Attribute Reference
Event Attributes
This tag supports all the event attributes described in HTML Events Reference
Browser Support
Chrome | Firefox | IE | Opera | Safari | Android |
---|---|---|---|---|---|
Yes | Yes | Yes | Yes | Yes | Yes |
html_tags_reference.htm
Advertisements