How are the AV valves anchored inside the heart?

By strands of chordae tendonae to the muscles of the ventricle