You raise an interesting point. The records are indeed filed by the U.S. War Department as 24th Mississippi Infantry. However, wartime reports and rolls customarily use the reference, 24th Mississippi Regiment or 24th Mississippi Volunteers. The term 'Infantry' does appear from time to time, but it's used far less frequently than the other two labels.