Readonly, Disabled and Hidden Fields
readonly shows a value users cannot change but still sends it. disabled blocks editing and is not sent. A hidden input carries data without showing it.
Example
<input value="Fixed" readonly> <input value="Off" disabled> <input type="hidden" name="token" value="abc">Exercise
Block editing but send value.
<input value="x" >
Quiz Test
These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.