Example:
HTML
<form>
<label for="fname">First name:</label><br>
<input type="text" id="fname" name="fname" value="John" readonly><br>
<label for="lname">Last name:</label><br>
<input type="text" id="lname" name="lname" value="Doe">
</form>
How is to look HTML readonly Attribute | HTML Input Attributes |
Full Code Example of HTML readonly Attribute | HTML Input Attributes |
Type: | Html |
Category: | Web Tutorial |
Sub Category: | HTML Input Attributes |
Uploaded by: | Admin |