fix to tab order in html snippet