Markup patterns for web forms