switch html formatting to IDs