The cervical and lumbar vertebrae do not articulate with the ribs. The thoracic vertebrae are the only ones that articulate with the ribs.
the atlas
All ribs are attached in the back to the thoracic vertebrae.
Thoracic vertebrae are attached to a pair of ribs
All ribs articulate posteriorly with their corresponding vertebrae.
The cervical vertebrae do not have ribs attached.
The thoracic vertebra
Snakes have between 100-400 vertebrae with as many ribs attached
The ribs attached to 11 and 12 do not connect to anything in the front of the body. They are said to be, "Floating".
There are 12 pairs of ribs. All 12 pairs connect directly to the thoracic vertebrae.
Lower most two pairs of ribs (11th and 12th) are known as floating ribs because they are only attached to vertebrae but not to the sternum.
They are atached to your spine and they make a cage around your organe-to protect them & cover them.
In the anterior position (front), the ribs connect to the sternum (breast bone) and in the posterior position (back), the vertebrae. There are free ribs that do not attach at the sternum, they just attach at the vertebrae.
12 vertebrae have ribs attatched