XEP-0071 specifies how to use a subset of XHTML in message payloads, which allows for sending basic formatting along with the text.