What is the origin and meaning of a mortarboard?

Mortar boards were so named because of their resemblance to the mortar boards used by masons (stone and brick workers). Mortar boards are flat, square boards used by masons to carry around their mortar.