Kinematics of gas and stars along the Hubble sequence