public interface HTMLTableCaptionElement extends HTMLElementTable caption See the CAPTION element definition in HTML 4.0. See also the Document Object Model (DOM) Level 2 Specification.Since: 1.4, DOM Level 2Field Summary Fields declared in interface org.w3c.dom.Node ATTRIBUTE_NODE, CDATA_...
Element,HTMLElement,Node public interfaceHTMLTableCaptionElementextendsHTMLElement 表格标题请参阅HTML 4.0中的CAPTION元素定义。 另见Document Object Model (DOM) Level 2 Specification。 从以下版本开始: 1.4,DOM Level 2 方法摘要 所有方法实例方法抽象方法 ...
C HTMLSourceElement C HTMLSpanElement C HTMLStyleElement C HTMLTableCaptionElement Instance Properties P align C HTMLTableCellElement C HTMLTableColElement C HTMLTableElement C HTMLTableRowElement C HTMLTableSectionElement C HTMLTemplateElement C HTMLTextAreaElement C HTMLTimeElement C ...
The <caption> HTML element specifies the caption (or title) of a table, providing the table an accessible description.
In previous versions of HTML, it was invalid to have a heading element within the caption element. When a data table followed a regular heading, developers were reluctant to use the caption element because of the redundancy, yet using the caption element provides an accessible name for the tabl...
Element <caption> Yes Yes Yes Yes YesGlobal AttributesThe <caption> tag also supports the Global Attributes in HTML.Event AttributesThe <caption> tag also supports the Event Attributes in HTML.More ExamplesExample Position table captions (with CSS): <table> <caption style="text-align:right">My...
DomHtmlDivElement DomHtmlDListElement DomHtmlDocument DomHtmlElement DomHtmlEmbedElement DomHtmlFieldSetElement DomHtmlFontElement DomHtmlFormElement DomHtmlFrameElement DomHtmlFrameSetElement DomHtmlHeadElement DomHtmlHeadingElement DomHtmlHRElement DomHtmlHtmlElement DomHtmlIFrameElement DomHtmlImageElement DomHtmlIn...
DomHtmlTableElement DomHtmlTableElement 构造函数 属性 对齐 BgColor 边框 标题 CellPadding CellSpacing ClassHandle FrameBorders “行” 规则 摘要 T 实体 TFoot THead 宽度 方法 DomHtmlTableRowElement DomHtmlTableSectionElement DomHtmlTextAreaElement DomImplementation ...
HTMLTableElement.tHead The setter steps say that setting to a value that is neithernullnorHTMLTableSectionElementshould throw aHierarchyRequestError, but browsers seem to throw aTypeErrorinstead. Tested in Firefox and Edge Chromium. Example:
HTML element: caption: align Global usage 96.68% + 0% = 96.68% IE ✅ 6 - 10: Supported ✅ 11: Supported Edge ✅ 12 - 131: Supported ✅ 132: Supported Firefox ✅ 2 - 134: Supported ✅ 135: Supported ✅ 136 - 138: Supported Chrome ✅ 4 - 132: Supported ✅ 133: ...