Cobra Pose - which is correct?

I’ve seen many pictures of the cobra pose, and have seen a few variations. Some yogis keep their legs on the mat while in the pose, and others have their legs slightly off the mat while in the pose. Which is correct? Or does it depend on the yogi?
Thank you

read my blog article here www.webaai.com and you find your correct answer