# Type selector

*noun*

say it: **“TYPE suh-LEK-ter”** **/taɪp səˈlɛktər/**

A CSS selector that picks every element of one tag name, such as p or h1.

## What is a **type selector**?

A **type selector** picks every element of one kind by its tag name, like all paragraphs or all images.

```css
img { max-width: 100%; }   /* every image */
```

## In a sentence

- “The **type selector** h2 styles every second-level heading on the page.”

Level: Novice · [More CSS terms at this level](https://www.ask-codey.com/glossary?category=css&level=1)

Updated: November 9, 2026

Source: https://www.ask-codey.com/glossary/type-selector
