ADDING A TEXT BOX IN HTML..
ADDING TEXT BOX
We can add multiple text box in a html page and we can enter and store the required text
adding a text box is very simple and its very simple to implement.
THERE ARE FEW TERMINOLOGY AND SYNTAX REQUIRED TO BE FOLLOWED
LABEL TAG
- we have to add label for the text box.
- In label we have to specify for.
- after for we have to write the label.
- and the close the label tag.
INPUT TAG
- first open the tag and use input
- specify the type
- use the placeholder and place the holder
- specify the size of the box and text
EXAMPLE
CODE
OUTPUT
Comments
Post a Comment
If you have any doubts let me know in comments