A liquid cartridge (30, 230, 330, 430, 530, 630, 730) configured to be inserted into an attachment portion of a printing device in an insertion direction crossing a gravitational direction and to be attached to the attachment portion in an upright posture, the attachment portion including a contact, the liquid cartridge (30, 230, 330, 430, 530, 630, 730) comprising: a housing (31, 731) comprising: a liquid chamber storing liquid therein; and a liquid passage (75A, 775A) in communication with the liquid chamber and extending forward in the insertion direction from the liquid chamber, the liquid passage (75A, 775A) having a front end in the insertion direction, an opening being formed in the front end; a sealing member disposed in the liquid passage; a circuit board positioned rearward in the insertion direction relative to the sealing member in the upright posture, the circuit board comprising: a contact facing at least upward in the upright posture, the contact of the cartridge (30, 230, 330, 430, 530, 630, 730) being electrically connectable to the contact of the device; and a memory electrically connected to the contact of the cartridge (30, 230, 330, 430, 530, 630, 730); a support member (68, 72, 372, 472, 568, 768) supporting the circuit board, the circuit board supported by the support member (68, 72, 372, 472, 568, 768) being resiliently movable upward and downward relative to the housing (31, 731) in the upright posture; and a resilient member (71, 81, 82, 371) connecting the support member (72, 372, 472) to the housing characterised in that the support member (72, 372, 472) has a sloped surface (72B, 372B, 472B) facing upward and forward in the insertion direction in the upright posture. a housing (31, 731) comprising: a liquid chamber storing liquid therein; and a liquid passage (75A, 775A) in communication with the liquid chamber and extending forward in the insertion direction from the liquid chamber, the liquid passage (75A, 775A) having a front end in the insertion direction, an opening being formed in the front end; a liquid chamber storing liquid therein; and a liquid passage (75A, 775A) in communication with the liquid chamber and extending forward in the insertion direction from the liquid chamber, the liquid passage (75A, 775A) having a front end in the insertion direction, an opening being formed in the front end; a sealing member disposed in the liquid passage; a circuit board positioned rearward in the insertion direction relative to the sealing member in the upright posture, the circuit board comprising: a contact facing at least upward in the upright posture, the contact of the cartridge (30, 230, 330, 430, 530, 630, 730) being electrically connectable to the contact of the device; and a memory electrically connected to the contact of the cartridge (30, 230, 330, 430, 530, 630, 730); a contact facing at least upward in the upright posture, the contact of the cartridge (30, 230, 330, 430, 530, 630, 730) being electrically connectable to the contact of the device; and a memory electrically connected to the contact of the cartridge (30, 230, 330, 430, 530, 630, 730); a support member (68, 72, 372, 472, 568, 768) supporting the circuit board, the circuit board supported by the support member (68, 72, 372, 472, 568, 768) being resiliently movable upward and downward relative to the housing (31, 731) in the upright posture; and a resilient member (71, 81, 82, 371) connecting the support member (72, 372, 472) to the housing characterised in that the support member (72, 372, 472) has a sloped surface (72B, 372B, 472B) facing upward and forward in the insertion direction in the upright posture.