The placeholder not working on safari ios, Placeholder is not visible. /* Selects any element with an active placeholder */:placeholder-shown {border: 2px solid silver;} The label is not part of our styling exercise, but its included as a general requirement, notably with the for attribute having the value of the id on the input. This one has always been a gotcha for me and many others. Only the HTML mark-up is displayed instead of the formatted text. Attributes in Action Mozilla Firefox 19+ is using a pseudo-element: ::-moz-placeholder, but the old selector will still work for a while. Topic: HTML / CSS Prev|Next Answer: Set the spellcheck attribute to false. To make sure the placeholder text disappears as soon as you click/focus on an input or textarea is by making the placeholder text color transparent. wrap: Specifies whether or not hard-returns should be added to the content submitted in a textarea. The placeholder attribute specifies a short hint that describes the expected value of a text area. placeholder: Adds placeholder text to the textarea that disappears as soon as a user places the cursor inside of the element. May … The :placeholder-shown CSS pseudo-class represents any or