Add a <!DOCTYPE html> , indicating that its HTML5, placeholder is a new element in HTML5 and does not exist on HTML4 or earlier versions
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Insert title here</title> </head> <body> <form> <input placeholder="aspdkpoas"/> </form> </body> </html>
source share