CSS Portal
Run
Search
« Back to
CSS :placeholder-shown Pseudo Class
<form> <label for="name">Full Name:</label> <input name="name" type="text" /> <label for="email">Email Address:</label> <input name="email" type="email" placeholder="name@example.com" /> <label for="age">Your age:</label> <input name="age" type="number" value="18" placeholder="You must be 18+" /> </form>
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