Menu Samaritan's Purse

VALID

The valid pseudo-class applies when the element is valid with respect to data validity semantics.

An element which lacks data validity semantics is neither :valid nor :invalid.

SYNTAX

selector:valid {
    property: value;
}

EXAMPLES

INTERNAL

invalid

EXTERNAL

World Wide Web Consortium (W3C)