What does que tal literally mean?

"Qué tal" is an expression that roughly translates to "What's up?" and that's the way that Spanish speakers will respond to it.

However, the word "qué" means "what" and the word "tal" means "such", so it literally means: "What such?", which of course is incomprehensible.