remove extra spaces html code example Example: remove extra space in code html pre, code { white-space: pre-line; }