how to use css for input type to readonly code example Example: js making input non typeable //Use readonly <input id="myInput" readonly>