Console: HTML validation issues fixes

Alex, please review these changes.