Export (0) Print
Expand All
1 out of 1 rated this helpful - Rate this topic

Type selector

Matches any element of the specified type.

CSS 2.1

Syntax

E {...}

Parameters

E

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

Standards information

Remarks

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

Examples

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


<style>
    h1 { color: teal; font-variant: small-caps; letter-spacing: 0.1em; }
</style>

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.