readOnly in select html code example Example: make select element readonly select[readonly] { pointer-events: none; }