1 input:
<input name="textfield" type="text"value="点击添入标题" οnfοcus="if (value =='点击添入标题'){value =''}" οnblur="if (value ==''){value='点击添入标题'}"/>
2 textarea:
<textarea name="textarea" cols="80" rows="17" οnfοcus="if(value=='正文:'){value=''}" οnblur="if (value ==''){value='正文:'}"></textarea>