CREATING FORM

CREATING FORM 

Form use to creating text , number ,email and password boxes in html page.
For creating boxes we use input tag .
Input tag is also use creating buttons in page of website.

Attribute of input tags

  1. Type="Text" For using text box.
  2. Type="Password" For using password box.
  3. Type="Email" For using Email box.
  4. Type="Radio" For using radio buttons.
  5. Type="submit" For using submit buttons.

Spacial Attribute

Placeholder is very spacial attribute.

FOR Example:

<!DOCTYPE html>
<html>
<body>

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



</body>
</html>



No comments:

Post a Comment

introduction of computer

A video introduction of computer                                         very useful information in this video.                      ...