1<!-- Using readonly attribute is use to prevent changing of input value. -->
2Example:
3<input type="text" name="username" value="lol" readonly>
1<!-- Using readonly attribute is use to prevent changing of input value. -->
2Example:
3<input type="text" name="username" value="ankur" readonly>
1<!--The readonly attribute means that the value of input field is not editable
2-->
3<form action="">
4<label for="country">Language:</label>
5 <input type="text" id="language" name="language" value="English" readonly>
6 <input type="submit" value="Submit">
7</form>