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.
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
Updated