Sunday, January 5, 2014

Forms>> Html Label - (PART_36)

Topic:
What is the use of label?

Explanation:

Label Tag:
<form name=testform>
<label name=testlabel> My Label </label>
</form> 


Result:
Definition:
A form should always have "form" tag. The attribute name may be defined (e.g "name=myform"). However the name will be required only during form action's which we will reqire javascript. So we will see those things in our javascript tutorials.
The type label is just a form a text. The result shows how a label is displayed

CONCLUSION:
Basically forms are used to get the data from the user and use the data.
To validate the data you need the learn javascript. To get the data and use it you need to learn any server side scripting languages like php or jsp or asp... We use php and we will see it in the tutorials (To Be Published Soon).