Skip to content

Glossary: HTML & CSS Basics

id

Also written: id attribute, ID selector

An attribute that gives one element a name that must be unique on the page. It lets you link to it with `#name` and select it in CSS.

Where the book teaches it

Related terms

ClassSpecificityLabel