HTML E { sRules } Scripting N/A
E String that specifies the name of a document language element type. sRules String that specifies one or more Cascading Style Sheets (CSS) attribute/value pairs.
A type selector matches every instance of the element type in the document tree.
The following style rule applies to all the H1 tags within the document. <style> H1 { color:teal; font-variant:small-caps; letter-spacing:.1em; } </style>
The following style rule applies to all the H1 tags within the document.
<style> H1 { color:teal; font-variant:small-caps; letter-spacing:.1em; } </style>
This selector is defined in CSS, Level 1 (CSS1).
Class Selector, Equality [=] Attribute Selector, Existence [] Attribute Selector, Hyphen [|=] Attribute Selector, ID Selector, Prefix [^=] Attribute Selector, Substring [*=] Attribute Selector, Suffix [$=] Attribute Selector, Universal (*) Selector, Whitespace [~=] Attribute Selector