how to restrict text from using new line in html code example Example: css prevent line break white-space: nowrap;