需求:textarea
文本域内的提示文字两行显示解决方案
解决方案:placeholder
表示回车tar
表示换行文字
<textarea id="textarea" maxlength="22" placeholder="我是第一行 我是第二行" ></textarea>