html input not editable
<input readonly type="text" name="country" value="Norway" >
html input not editable
<input readonly type="text" name="country" value="Norway" >
js making input non typeable
//Use readonly
<input id="myInput" readonly>
read only attribute in html
<!-- Using readonly attribute is use to prevent changing of input value. -->
Example:
<input type="text" name="username" value="ankur" readonly>
readonly attribute in html
<!--The readonly attribute means that the value of input field is not editable
-->
<form action="">
<label for="country">Language:</label>
<input type="text" id="language" name="language" value="English" readonly>
<input type="submit" value="Submit">
</form>
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us