html make input non editable code example
Example 1: html input not editable
<input readonly type="text" name="country" value="Norway" >
Example 2: js making input non typeable
//Use readonly
<input id="myInput" readonly>
<input readonly type="text" name="country" value="Norway" >
//Use readonly
<input id="myInput" readonly>