HTML Input Attributes
HTML Input Attributes
The value Attribute
The value attribute specifies the initial value for an input field:
Example
form action=""
First name:
input type="text"name="firstname"value="John"
The disabled attribute specifies that the input field is disabled.
A disabled input field is unusable and un-clickable, and its value will not be sent when submitting the form:
Example
form action=""
First name:
input type="text"name="firstname"value="John" disabled
The readonly attribute specifies that the input field is read only (cannot be changed):
Example
form action=""
First name:
<input type="text"name="firstname"value="John" readonly>
Leave HTML Input Attributes to:
Read more #attribute posts
Best Posts From Md Robiul Islam
We have not curated any of rabiul21's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.
More Posts From Md Robiul Islam
- ABOUT BANGLADESH
- Why Study JavaScript?
- Nice Doll
- Photography
- HTML5 Geolocation
- HTML Plug-ins
- HTML5 Audio
- HTML Multimedia
- HTML Multimedia
- HTML5 Canvas
- HTML5 Semantic Elements
- HTML5 New Elemen New
- HTML5 Browser Support
- HTML5 Introduction
- HTML Input Attributes
- HTML Form Elements
- HTML Forms
- HTML Symbol Entities
- HTML Entities
- HTML Computer Code Elements