Class Td
The td element represents a data cell in a table. It is used to contain the actual data content of a table row, as opposed to header cells (th) which contain column or row headers. The td element can contain any flow content and supports attributes for spanning multiple columns or rows, as well as associating with header cells for accessibility.
Examples:
See Also:
-
Constructor Summary
Constructors -
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
-
Method Details
-
colspan
colspan attribute.Number of columns that the cell is to span.
-
headers
headers attribute.Specifies the IDs of header cells that apply to this table cell. This creates a programmatic relationship between the cell and its headers for accessibility purposes.
Multiple IDs can be specified as a space-separated list.
- Parameters:
value- The IDs of header cells that apply to this cell. Can benull to unset the attribute.- Returns:
- This object.
-
rowspan
rowspan attribute.Number of rows that the cell is to span.
-