HtmlLegendElement Class

https://html.spec.whatwg.org/multipage/form-elements.html#htmllegendelement

public sealed class HtmlLegendElement : HtmlElement
Inheritance
HtmlElement HtmlLegendElement

Properties

NameDescription
AlignGets or sets the value of the align content attribute.
Formhttps://html.spec.whatwg.org/multipage/form-elements.html#dom-legend-form

Gets or sets the value of the align content attribute.

public string Align { get; set; }

https://html.spec.whatwg.org/multipage/form-elements.html#dom-legend-form

public HtmlFormElement? Form { get; }