Basic Html Web Pages.
Best Html Web Pages.
Web Pages Using Html.
Sample Html Web Pages.
Free Html Web Pages.
Web Pages Design In Html.
Simple Html Web Pages.
Html Web Pages Examples.
Web Pages Templates Html.
Web Pages In Html.
Web Pages Examples Using Html.
Simple Web Pages Using Html.
<!-- Just a figure -->
<figure>
<img src="dymond.jpg" alt="An awesome picture">
</figure>
<p></p>
<!-- Figure with figcaption -->
<figure>
<img src="dymond.jpg" alt="An awesome picture">
<figcaption>Fig1.Dymond</figcaption>
</figure>
<p></p>
</body>
</html>
Output:-
Fig1.Dymond Definition:-
Figure tag
The HTML 'figure' element represents self-contained content, frequently with a caption 'figcaption'.
The 'figcaption' element is optional and can appear before or after the content within the 'figure' tag.
Only one 'figcaption' element may be nested within a 'figure' , although the 'figure' element itself may contain multiple other child elements (e.g., img or code)
The 'figcaption' element can be placed as the first or last child of the 'figure' element.
HTML:- figcaption
Reviewed by Network security
on
April 30, 2019
Rating: 5
No comments: