# list attribute

*noun*

say it: **“LIST AT-rih-byoot”** **/lɪst ˈætrɪbjuːt/**

The attribute on an input that names the id of a datalist, so the input shows that list's suggestions.

## What is **`list` attribute**?

**`list` attribute** — The input attribute whose value identifies a datalist containing suggestions.

## In a sentence

- “I misspelled the **list attribute**, so the box showed no suggestions at all.”
- “The suggestions only appeared after I set the **list** attribute to artists, the datalist's id.”

Level: Freelancer · [More HTML terms at this level](https://www.ask-codey.com/glossary?category=html&level=4)

Updated: November 9, 2026

Source: https://www.ask-codey.com/glossary/list-attribute
