Modified checks to include checks for all required tags and classes.