Breaking

Saturday, 27 February 2016

html Lecture 7 in Urd Last Lecture

 Lecture 7 Last Lecture of Html


Aj ham pharain gy about input k kesy input lity hai html me
html me input liny k lay ham
form ka tag use karty hai
<form>  </form>
Agr ap text k lay input lity hai to es k lay input text likty hai example
<input  type=”text”>


<!DOCTYPE html>
<html>
<body>
<form>
 First name:<br>
 <input type="text" name="firstname">
 <br>
Last name:<br>
<input type="text" name="lastname">
</form>
<p>Note that the form itself is not visible.</p>
</body>
</html>
Top of Form
First name:
 
Last name:
Bottom of Form
Note that the form itself is not visible.

Radio botton
<!DOCTYPE html>
<html>
<body>
<form>
  <input type="radio" name="gender" value="male" checked> Male<br>
  <input type="radio" name="gender" value="female"> Female<br>
  <input type="radio" name="gender" value="other"> Other 
</form>
</body>
</html>
 Male
 Female
 Other

submit
<!DOCTYPE html>
<html>
<body>

<form action="action_page.php">
  First name:<br>
  <input type="text" name="firstname" value="Mickey">
  <br>
  Last name:<br>
  <input type="text" name="lastname" value="Mouse">
  <br><br>
  <input type="submit" value="Submit">
</form>

<p>If you click the "Submit" button, the form-data will be sent to a page called "action_page.php".</p>

</body>
</html>
Top of Form
First name:
 
Last name:
 

Bottom of Form
If you click the "Submit" button, the form-data will be sent to a page called "action_page.php".


Ach to ap ko ye b samj agea a bap apna own html layout bana sakty esi tarhakhus se practice kia kary taky khud kuch bana looo
Aj ap sab ka last lecture ta html ka hope k ap sab ne html k course ko enjoy kia ho ga
Dua me yad raka kary

Mt Ali okz



No comments:

Post a Comment