According to the HTML5 specification for the textarea element placeholder attribute

If you’re on the line, it’s not a valid unfocused control .

However, trying such a declaration element textarea

 <textarea name="story" rows="4" cols="60" id="form-story" maxlength="300" placeholder="No more than 300 characters long."> </textarea> 

Together with other elements in the form, the text of the placeholder attribute is not displayed in the textarea field, at least not in MS Edge, nor in Chrome.

Is this a result of the item being declared incorrectly, or are there other reasons?

  • "together with other elements in the form, the text of the placeholder attribute is not displayed" other elements also have no placeholders? This is where your example works, so what else is connected to the page (styles)? I see another description of the placeholder attribute here . In addition, textarea does not have a value attribute. - Mr. Brightside
  • @ Mr.Brightside This is me mistakenly inserting an interface property. But if you remove it, nothing changes. Other items do not have placeholder. These are just input fields with the type tel, email. - Vlad from Moscow
  • @ Mr.Brightside element <style> in the title is present. The only thing it determines is that it removes the image of the markers from the ul elements. - Vlad from Moscow

0