标签:搜索框 utf-8 文字 inpu tab doc nbsp 索引 dtd
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>input索引提示特效</title> </head>
<body> <table> <tr> <td><input value="提示的文字" onfocus="if (value ==‘提示的文字‘){value =‘‘}" onblur="if (value ==‘‘){value=‘提示的文字‘}" /></td> </tr> </table> </body> </html>
标签:搜索框 utf-8 文字 inpu tab doc nbsp 索引 dtd
原文地址:http://www.cnblogs.com/apolloren/p/7567240.html