Oppure
<td class="val"> <input type="text" class="text" name="t1" value="1" maxlength="4"> </td>
WebBrowser1.Document.All("t1").Focus() WebBrowser1.Document.All("t1").InnerText = "1"