Check out example codes for "how to make a textbox in html". It will help you in understanding the concepts better.

Code Example 1

Simple code:
<input type="text" name="textbox_name" id="textbox_id"

Apart from this there are many other attributes are there which we can use in textbox
> placeholder
> style
> value 

Code Example 2

//HTML Textbox w/Getting Javascript Input:
  function getTextBox(){
    var k = document.getElemntById('myTextBox').value
<input type="text" id="myTextBox">
<button onclick="getTextBox()">Get Text Input</button>

Learn ReactJs, React Native from