Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Title of the document</title> <style> input { text-align: center; } ::-webkit-input-placeholder { text-align: center; } :-moz-placeholder { text-align: center; } </style> </head> <body> <form action="/form/submit" method="POST"> <input type="email" class="emailField" placeholder="info@w3docs.com" name="email" /> </form> </body> </html>