-->

HTML page to create submit and reset button.

We can understand through following example.
-------------------------------------------------------------------------------------------------------

<html><!--starting tag of html-->
<head><!--used for meta tag-->
<title><!--used for title of page-->
form concept
</title>
</head>
<body><!--is container-->
form <br>
<form>
name is:<input type="text" name="name" size="20"><br>
address is:<input type="text" name="addrexs" size="20"><br>
<!--type text creates a box
placeholder puts the text inside the box
maxlength takes the character maximum 10
size:it creates the box having 20 length
-->
Gender is:<br>
male:<input type="radio" name="rad1"><br>
Female:<input type="radio" name="rad1"><br>
<!--creats radio box. we can click them-->
Your feedback:<br>
<textarea rows="10" cols="20">
</textarea>
<!--creates a text area with rows 10 and cols 20-->
<br>
<input type="submit" value="click me">
<!--creates a button named click me
it is used to submit our data to server-->
<input type="reset" value="reset me">
<!--it creates button named reset me. It resets the value.
we have entered to zero/blank-->
</form>
</body>
</html>

No comments:

Post a Comment