Checks for HTML elements existing.