This page is In Progress

Notice: The WebPlatform project has been discontinued when the Stewards partnership agreement ended in September 2015. This site has been frozen, and the assets we have created will remain.

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