Answers for "input type not editable"

7

html input not editable

<input readonly type="text" name="country" value="Norway" >
Posted by: Guest on March-12-2021
2

js making input non typeable

//Use readonly

<input id="myInput" readonly>
Posted by: Guest on June-01-2020
2

read only html

<!-- Using readonly attribute is use to prevent changing of input value. -->
Example:
<input type="text" name="username" value="lol" readonly>
Posted by: Guest on August-17-2020

Browse Popular Code Answers by Language