Gentle abstraction over HTML validation