I'm telling you from MY EXPERIENCE (Unlike you who doesn't own a cobra), that they can keep their hood and strike upwards. Granted it is in a jumping motion, nevertheless it is a strike.
When you've kept cobras for a few years, then please elaborate on your experiences. Until then, you're just another google expert, who "pats cobras on the head".