how to wrap text in html if width is not given code example Example: how to wrap text in div css .example { overflow-wrap: break-word; }