Web/API/HTMLObjectElement/validity

From Get docs


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

Syntax

var ValidityState = HTMLObjectElement.validity;

Value

A ValidityState object.

Specifications

Specification Status Comment
HTML Living StandardThe definition of 'validity' in that specification. Living Standard Initial definition.

Browser compatibility

Update compatibility data on GitHub

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari Android webview Chrome for Android Firefox for Android Opera for Android Safari on iOS Samsung Internet
validity Chrome

Full support 46

Edge

Full support 12

Firefox

Full support 1

IE

Full support Yes

Opera

Full support Yes

Safari

Full support 6

WebView Android

Full support 46

Chrome Android

Full support 46

Firefox Android

Full support 4

Opera Android

Full support Yes

Safari iOS

Full support Yes

Samsung Internet Android

Full support 5.0

Legend

Full support  
Full support