Class Title
The title element represents the document's title or name. It is used to provide a title for the document that appears in the browser's title bar, bookmarks, and search engine results. The title element should be placed within the head element and should be descriptive and unique for each page. It is important for SEO, accessibility, and user experience as it helps users identify the page content and purpose.
Examples:
See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.juneau.bean.html5.HtmlElementRawText
getText, setText, textMethods 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
-
Title
public Title()Creates an emptyTitleelement. -
Title
Creates aTitleelement with the specifiedHtmlElementRawText.text(Object)node.- Parameters:
text- TheHtmlElementRawText.text(Object)node. Can benull to leave the text unset.
-