|
|
Goals:
Steps:
<!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><title> </title></head> <body> <form name="form1" method="post" action="Default.aspx" id="form1"> <div> <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUJOTczNTMyNjI5ZGQ+tlIH8gC3zZwd0romTjnrPAqrbg==" /> </div> <div> <span id="Label1">This is a label</span> </div> </form> </body> </html>
<label for="TextBox1" id="Label2" accesskey="T"> Label associated with <u>T</u>extBox (use Alt+T to move the focus to the TextBox) </label> <input name="TextBox1" type="text" id="TextBox1" />
Normal text, <b>bold</b> text. <br /> Normal text, <b>bold</b> text.
Simple textbox: <input name="TextBox2" type="text" id="TextBox2" /> <br /> Password textbox: <input name="TextBox3" type="password" id="TextBox3" /> <br /> Multiline textbox: <textarea name="TextBox4" rows="2" cols="20" id="TextBox4" style="height:100px;width:200px;"></textarea>
<input name="TextBox2" type="text" onchange="if (!tbChangedJS()) return;setTimeout('__doPostBack(\'TextBox2\',\'\')', 0)" onkeypress="if (WebForm_TextBoxKeyHandler(event) == false) return false;" id="TextBox2" />
<a id="HyperLink1" href="http://www.google.com">HyperLink to google</a> <br /> <a id="HyperLink2" href="http://www.google.com"><img src="sample.gif" style="border-width:0px;" /></a>