The name-value pair also known as the attribute-value pair is a data representation technique that allows a name or attribute to be mapped to a specific value. While a name or attribute can be defined more than once, it must have only one value in any given context. It is also possible for a value to represent even more name-value pairs.
An example is shown below:
Website = 'CPEN Talk'
A collection of name-value pairs is what is known as an object.
See an example below:
About: 'Computer Science & Engineering Q&A',
Question title: 'What is a name-value pair',