default markup and changes for different widgets