The process whose specific outcome is the progression of a tarsal gland over time, from its formation to the mature structure.