title: How to resolve this error - there is no attribute "onFocus"
body: <p>I am getting an error called there is no attribute "onFocus".
  I have a code as follows:</p>
  
  <p><code>&lt;input name="name" id="name" class="small required name" type="text" value="Name:" onFocus="if(this.value='Name:'){this.value=''}" /&gt;</code></p>
  
  <p>I tried validating my site in <a href="http://validator.w3.org/" rel="nofollow noreferrer">http://validator.w3.org/</a>, and I got these errors.
  Can anyone help me to resolve this issue?</p>