correct html syntax errors and remove inline css