CSS Portal
Run
Search
« Back to
CSS :optional Pseudo Class
<p>Please enter your name and age.</p> <p>Name: <input name="name" required ></p> <p>Age: <input type="number" name="old"> (Optional)</p> <p><button>Submit</button></p>
If this site has been useful, we’d love your support! Running this site takes time and resources, and every small contribution helps us keep creating valuable content. Consider buying us a coffee to keep things going strong!
☕ Buy a Coffee