Class Abbr
The abbr element represents an abbreviation or acronym. It is used to mark up abbreviated text and provide an optional expansion or explanation via the title attribute. This helps screen readers and other assistive technologies understand the full meaning of abbreviations, and provides tooltips for users when they hover over the abbreviated text.
Examples:
The following convenience methods are provided for constructing instances of this bean:
See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAbbr()Creates an emptyAbbrelement.Creates anAbbrelement with the specifiedHtmlElement.title(String)attribute andHtmlElementMixed.children(Object[])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
-
Abbr
public Abbr()Creates an emptyAbbrelement. -
Abbr
Creates anAbbrelement with the specifiedHtmlElement.title(String)attribute andHtmlElementMixed.children(Object[])nodes.- Parameters:
title- TheHtmlElement.title(String)attribute.children- TheHtmlElementMixed.children(Object[])nodes.
-