HTMLTextAreaElement: placeholder プロパティ - Web API | MDN
文字列です。
js
const textareaElement = document.getElementById("comment"); console.log(textArea.placeholder);
<textarea>
HTMLTextAreaElement.value
Yes No
Learn how to contribute
This page was last modified on 2025年6月3日 by MDN contributors.