Hci
Hci
Text = c End Sub Private Sub Command1_Click() Dim a, b, c As Double a = Text1.Text b = Text2.Text c=a-b Text3.Text = c End Sub Private Sub Command3_Click() Dim a, b, c As Double a = Val(Text1.Text) b = Val(Text2.Text) c=a*b Text3.Text = c End Sub Private Sub Command4_Click() Dim a, b, c As Double a = Val(Text1.Text) b = Val(Text2.Text)
<html> <head> <title> Regestration form </title> <style> .abc { position:absolute; left=50%; } </style> </head>
<body bgcolor="PURPLE" <h2> <center>REGISTRATION FORM </center></h2> <marquee>Fill this form for Registering!</marquee> <form name="f1"> <div style ="color : yellow ;position: absolute; left : 25% ;"> Name : <input type = "text" name ="txt_fname" class="abc"/><br /><br /> Username : <input type = "text" name="txt_username" class="abc" /><br /> <br /> Password : <input type="Password" name="txt_pass" class="abc"><br /><br />
Confirm </br> Password : <input type="Password" name="txt_rpass" class="abc"/><br /><br /> </br>Birthday : <div class="abc"> <select name="day"> <option>1</option> <option>2</option> <option>3</option> <option>4</option> <option>5</option> <option>6</option> <option>7</option> <option>8</option> <option>9</option> <option>10</option> <option>11</option> <option>12</option> <option>13</option> <option>14</option> <option>15</option> <option>16</option> <option>17</option> <option>18</option> <option>19</option> <option>20</option> <option>21</option>
<option>22</option> <option>23</option> <option>24</option> <option>25</option> <option>26</option> <option>27</option> <option>28</option> <option>29</option> <option>30</option> <option>31</option></select><select name="month"> <option>January</option> <option>Feburary</option> <option>March</option> <option>April</option> <option>May</option> <option>June</option> <option>July</option> <option>August</option> <option>September</option> <option>october</option> <option>November</option <option>December</option></select> <select name="year"><option>1986</option> <option>1987</option> <option>1988</option> <option>1989</option>
<option>1990</option> <option>1991</option> <option>1992</option> <option>1993</option> <option>1994</option> <option>1995</option> <option>1996</option> <option>1997</option> <option>1998</option> <option>1999</option> <option>2000</option> <option>2001</option> <option>2002</option> <option>2003</option> <option>2004</option> <option>2005</option> <option>2006</option> <option>2007</option> <option>2008</option> <option>2009</option> <option>2010</option> <option>2011</option></select> </div> <br> <br> <br>
<br> <br> Gender : <input type = "Radio" name="txt_gender1" />Male <input type = "Radio" name="txt_gender2" />Female <input type = "Radio" name="txt_gender3" />Other<br /><br /> Mobile Phone : <input type = "text" name="txt_mno" class="abc"/><br /><br /> Address : <input type = "text" name="txt_lname" class="abc"/><br /><br /> Country : <input type = "text" name ="txt_fname" class="abc"/><br /><br /> Language : <input type = "text" name ="txt_fname" class="abc"/><br /><br /> <p style="color : yellow ;background-color:purple;"><input type="checkbox">I agree to all the terms and Privacy policies </p><br /><br /> <div style="position:absolute; left : 35% ;"> <input type = "submit" name="Button1" value="Create"/> <input type = "reset" name="Button2" value="Reset"/> </div> <br /><br /> </div> </form> </body> </html>