how to make input tag read only code example Example: using value attribute in input tag makes it read only use defaultValue tag