<textarea id="editor-1" placeholder="Placeholder from the attribute"> <p>Remove this text to see the placeholder.</p> </textarea> <br /> <div id="editor-2" data-placeholder="Placeholder from the attribute"></div>