Lets look at placeholder attribute of HTML5 form field. Demo Here we're taking 3 input fields of type text, email…