Which of these would be valid name-value pair?

Exactly!

A valid name-value pair should contain a name and a value.