consistent markup for this html snippet