Add HTML validation API