Press Alt Enter to get a new line within a cell. Many formatting options are available while editing cell contents. Select part of the content and apply formatting as desired. Notice that only font, font size, bold, italic, underline and font color can be changed.
Background color and border can only be changed for the entire cell.