16 lines
662 B
Plaintext
16 lines
662 B
Plaintext
The HTML <figcaption> Element represents a caption or a legend associated with a figure or an illustration described by the rest of the data of the <figure> element which is its immediate ancestor which means <figcaption> can be the first or last element inside a <figure> block. Also, the HTML Figcaption Element is optional; if not provided, then the parent figure element will have no caption.
|
||
|
||
Content categories:
|
||
None.
|
||
|
||
Permitted content:
|
||
Flow content.
|
||
|
||
Tag omission:
|
||
None, both the starting and ending tag are mandatory.
|
||
|
||
Permitted parent elements:
|
||
A <figure> element; the <figcaption> element must be its first or last child.
|
||
|
||
DOM interface:
|
||
HTMLElement |