Corrected tags and validated code