# Declaration

One styling instruction: property: value;

## What is a **declaration** in CSS?

A **declaration** is one styling instruction: a property, a colon, a value and a semicolon.

```css
.banner {
  background-color: gold;   /* one declaration */
}
```

Level: Novice · [More CSS terms at this level](https://www.ask-codey.com/glossary/subjects/css/novice)

Updated: September 27, 2026

## In other subjects

- [Declaration in C#](https://www.ask-codey.com/glossary/declaration-c-sharp)
- [Declaration in Java](https://www.ask-codey.com/glossary/declaration)

Source: https://www.ask-codey.com/glossary/declaration-css
