how to use input tage? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

how to use input tage?

i want to use input tage in my web but it is not working

30th May 2016, 5:34 AM
Aijaz Ahmed
Aijaz Ahmed - avatar
2 Answers
+ 8
thanks
14th Apr 2017, 3:10 PM
Aijaz Ahmed
Aijaz Ahmed - avatar
+ 1
For an input of text, use as follows: <input type="text" /> Input tags are inline tags so you don't need an ending tag. It's enough if you put the slash before closing the input tag with ">". This will display a textbox that the user can fill with any kind of text. To see more input "type" go to "HTML5 Forms Part 1" in te explanation before the 3rd question you will find another words to use in the type attribute instead of the "text" word so you can make different kind of input types.
30th May 2016, 11:59 AM
Fer