Write and format text visually, then copy the clean HTML it produces.
Start typing here. Select text and use the toolbar to format it.