Early keyboards could not change volume much. The pianoforte, invented around 1700 in Italy, could play both soft and loud depending on how hard you pressed the keys — so it was named for exactly that.
Other dynamic marks include pp (very soft), mf (medium loud), ff (very loud), and crescendo (getting louder little by little).