Class Figcaption
The figcaption element represents a caption or legend for a figure. It is used to provide a caption for the content of its parent figure element, such as images, diagrams, code snippets, or other self-contained content. The figcaption element can be placed either before or after the figure content and is typically used to provide context, attribution, or explanation for the figure.
Examples:
The following convenience methods are provided for constructing instances of this bean:
See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an emptyFigcaptionelement.Figcaption(Object... children) Creates aFigcaptionelement with the specified child nodes. -
Method Summary
Methods inherited from class org.apache.juneau.bean.html5.HtmlElementMixed
child, children, getChild, getChild, getChild, getChildren, setChildrenMethods inherited from class org.apache.juneau.bean.html5.HtmlElement
accesskey, attr, attrUri, class_, contenteditable, deminimize, dir, getAttr, getAttr, getAttrs, hidden, id, lang, onabort, onblur, oncancel, oncanplay, oncanplaythrough, onchange, onclick, oncuechange, ondblclick, ondurationchange, onemptied, onended, onerror, onfocus, oninput, oninvalid, onkeydown, onkeypress, onkeyup, onload, onloadeddata, onloadedmetadata, onloadstart, onmousedown, onmouseenter, onmouseleave, onmousemove, onmouseout, onmouseover, onmouseup, onmousewheel, onpause, onplay, onplaying, onprogress, onratechange, onreset, onresize, onscroll, onseeked, onseeking, onselect, onshow, onstalled, onsubmit, onsuspend, ontimeupdate, ontoggle, onvolumechange, onwaiting, self, setAttrs, spellcheck, style, tabindex, title, toString, translate
-
Constructor Details
-
Figcaption
public Figcaption()Creates an emptyFigcaptionelement. -
Figcaption
Creates aFigcaptionelement with the specified child nodes.- Parameters:
children- The child nodes.
-