Prev Demo
HTML5
>
Placeholder Attribute In HTML5
Next Demo
Write code here
J
|
B
|
A
<!DOCTYPE HTML> <html> <head> <title></title> <meta charset="UTF-8" /> </head> <body> <h1 style="color:Green">Example of Place Holder attribute in HTML5</h1> <br/> <form method="post" action="somepage.html"> <input type="text" id="Text1" name="myName" placeholder="Please enter your name" required /> * <input type="submit" value="Submit" /> </form </body> </html>
Note: We DO NOT save your trial code in our database.
Output