Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Der Titel des Dokuments</title> <style> input { padding: 10px; margin: 5px; width: 90%; } .one { color: #8ebf42; } .two { color: #ff0066; } .three { color: #1c87c9; } .one::placeholder { color: #1c87c9; } .two::placeholder { color: #ff0000; } .three::placeholder { color: #8ebf42; } input:placeholder-shown { border: 1px solid #095484; </style> </head> <body> <form action="/action_page.php"> Vorname: <input class="one" type="text" name="firstname" placeholder="John"><br><br> Nachname: <input class="two" type="text" name="lastname" placeholder="Lennon"><br><br> E-Mail-Adresse: <input class="three" type="email" name="email" placeholder="YourEmail@gmail.com"> </form> </body> </html>