<?xml version="1.0" encoding="utf-8"?>

<snippet name = "文本域，自动清除" description = "显示默认信息的表单文本域；当访问者点击该域时，默认信息消失。" preview="code" type="block">

<insertText location="beforeSelection">

<![CDATA[<input type="text" name="n" value="Your message" onFocus="if(this.value=='Your message')this.value='';">

 ]]>

</insertText>

<insertText location="afterSelection"><![CDATA[]]>

</insertText>

</snippet>

