Surround HTML errors with a <DIV> tag and add a parameter for its CSS class. #4