make input field disabled in html code example Example: how to fix input field and disabled <input type="text" readonly="readonly" />