The opening and closing tags for textarea must be on the same line, otherwise, a newline occupies it, the placeholder will therefore not be displayed since the input area contains a newline character.
good
<textarea></textarea>
bad
<textarea>
</textarea>
网友评论