This page is In Progress

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

type

Summary

A type selector matches every instance of the element type in the document tree.

Syntax

E { /* properties goes here */ }

Parameters

E: String that specifies the name of a document language element type.

Examples

The following style rule applies to all the H1 tags within the document.

h1 {
    color:teal;
    font-variant:small-caps;
}

Related specifications

CSS 2.1
W3C Recommendation

See also

Related articles

Selectors

Attributions