html5文本框提示文字属性为placeholder html5文本框提示文字属性为placeholder 例子: <textarea id="comment" class="commentCont" name="" cols="" placeholder="请踊跃发言,长度至少要6个中英文字哦,请不要恶意灌水哦" rows=""></textarea> ie鼠标点击文本框提示文字消息 火狐输入文字时候消失