Selector:
input:valid
Selects all <input> elements where the value is valid according to their limitations.
Try typing in the input fields, and if your input is invalid, the styling will disappear.
<p>My name is Donald <span id="Lastname">Duck.</span></p>
<p id="my-Address">I live in Duckburg</p>
<p>I have many friends:</p>
<p class="myquote">All my friends are great!<br>
But I really like Daisy!!</p>
<p lang="it" title="Hello beautiful">Ciao bella</p>
<p><b>My latest discoveries have led me to believe that we are all animals:</b></p>
Name | Type of Animal |
---|---|
Mickey | Mouse |
Goofey | Dog |
Daisy | Duck |
Pluto | Dog |