HTML 文本区域不显示占位符

HTML text area not displaying with placeholder

当我呈现网页时,输入框显示占位符“输入关键字”,但文本区域不显示占位符。我哪里错了?

 <div>
        <textarea id="paragraph" rows="5" cols="35" placeholder="Enter the paragraph here..." value = ''>
        </textarea>
    </div>
    <div>
        <input type="text" id="word" placeholder="Enter the keyword here..." value="">
    </div>

改变这个

<div>
    <textarea id="paragraph" rows="5" cols="35" placeholder="Enter the paragraph here..." value = ''>
    </textarea>
</div>

至此

<div>
    <textarea id="paragraph" rows="5" cols="35" placeholder="Enter the paragraph here..." value = ''></textarea>
</div>

文本区域以空白 spaces 作为值,因为在结束标记

之前有 space