Skip to content

Glossary: HTML & CSS Basics

data- attribute

Also written: data-netlify, data attributes

A custom attribute whose name starts with `data-`. It is allowed on any element and ignored by browsers, but a service such as Netlify can read it, as with `data-netlify="true"` on the inquiry form.

Where the book teaches it

Related terms

AttributeNetlify