name-value pair

noun
UK /neɪm ˈvæljuː peə/
US /neɪm ˈvæljuː per/

A name and a value that go together like a label and the thing it tells you.

In the list, each name-value pair shows a color and its code.


OTHER MEANINGS

2. A single item in a configuration file that sets an option to a specific setting.

The settings file stores each option as a name-value pair.

3. A unit of data in a hash table or map where a key points to its stored value.

The program looks up the name-value pair by searching for the key.

4. A labeled piece of information in a form or record, such as a field and what was filled in.

Each form response is saved as a name-value pair for later review.