make changes to markup to comply with w3c standards