Example:
HTML
<style>
figure { border: 1px #cccccc solid; padding: 4px; margin: auto;
}
figcaption { background-color: black; color: white; font-style: italic; padding: 2px; text-align: center;
}
</style>
<figure> <img src="https://horje.com/avatar.png" alt="Trulli" style="width:100%"> <figcaption>Fig.1 - Trulli, Puglia, Italy</figcaption>
</figure>
How to create HTML <figure> Tag | HTML Tag |
Which browser will support for HTML <figure> Tag | HTML Tag |
How to Use CSS to style <figure> and <figcaption> | HTML Tag |
How to set Default CSS Settings | HTML Tag |
Type
: |
html |
Category
: |
Web Tutorial |
Sub Category
: |
HTML Tag |
Uploaded by
: |
Admin |