Table of Contents

Class HTMLTableCaptionElement

Namespace
CSharpToJavaScript.APIs.JS
Assembly
CSharpToJavaScript.dll

The HTMLTableCaptionElement interface provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating table {{HTMLElement("caption")}} elements.

[Value("HTMLTableCaptionElement")]
public class HTMLTableCaptionElement : HTMLElement
Inheritance
HTMLTableCaptionElement
Inherited Members

Remarks

-The HTML element implementing this interface: caption.

See also on MDN

Constructors

HTMLTableCaptionElement()

public HTMLTableCaptionElement()

Properties

Align

IMPORTANT
Deprecated
The align property of the HTMLTableCaptionElement interface is a string indicating how to horizontally align text in the {{htmlelement("caption")}} table element.
[Value("align")]
public string Align { get; set; }

Property Value

string

The possible values are:

Remarks

NOTE

This property is deprecated, and CSS should be used to align text horizontally in a cell. Use the CSS text-align property, which takes precedence, to horizontally align text in the caption cell instead.

-text-align
-caption-side
-Learn: Styling tables

See also on MDN