Prev Demo
Text Box In HTML & HTML5.
Next Demo
Write code here
J
|
B
|
A
<!DOCTYPE html> <html> <head> <title>Demo</title> </head> <body> <form> <h1>Text boxes</h1> Normal text box: <input type="text" name="txt" /> <br /> <br /> Text box with placeholder: <input type="text" name="txt" placeholder="Click here to write"/> </form> </body> </html>
Note: We DO NOT save your trial code in our database.
Output