output capitalization and html formatting