Tryit Editor v1.8

Source Code:
<!DOCTYPE html> <html> <body> <form action="demo_form.asp"> <input type="text" name="fname" placeholder="First name"><br> <input type="text" name="lname" placeholder="Last name"><br> <input type="submit" value="Submit"> </form> <p><strong>Note:</strong> The placeholder attribute of the input tag is not supported in Internet Explorer 9 and earlier versions.</p> </body> </html>
Result:
W3Schools.com - Try it yourself