<html>
<head>
<meta http-equiv="content-Type" content="text/html;charset=utf-8">
<meta name="zzjs.networds" content="" />
<meta name="description" content="" />
<title>文本框添加灰色提示文字</title>
</head>
<body>
<a href="http://www.zzjs.net/">文本框添加灰色提示文字。<hr>
<input type="text" id="zzjs.net" name="zzjs.net" value="请输入关键词" onFocus="if(value==defaultValue){value='';this.style.color='#000'}" onBlur="if(!value){value=defaultValue;this.style.color='#999'}" style="color:#999999">
</body>
</html>
输入框提示文字灰色效果
最新推荐文章于 2021-06-04 11:46:46 发布