HTMLObjectElement: validity property

The validity read-only property of the HTMLObjectElement interface returns a ValidityState with the validity states that this element is in.

Value

A ValidityState object.

Specifications

Specification
HTML Standard
# dom-cva-validity

Browser compatibility

BCD tables only load in the browser