HTML* { sRules } ScriptingN/A
sRulesString that specifies one or more Cascading Style Sheets (CSS) attribute/value pairs.
The universal selector matches every element in the document tree. If the universal selector is not the only component of a simple selector, the "*" may be omitted. For example: *.myclass and .myclass are equivalent.*#myid and #myid are equivalent.*:hover and :hover are equivalent.
The universal selector matches every element in the document tree. If the universal selector is not the only component of a simple selector, the "*" may be omitted. For example:
The following style rule draws a thin orange border around every element on the page. <style> * { border: 1px solid orange; } </style>
The following style rule draws a thin orange border around every element on the page.
<style> * { border: 1px solid orange; } </style>
This selector is defined in CSS, Level 2 (CSS2).
Class Selector, Equality [=] Attribute Selector, Existence [] Attribute Selector, Hyphen [|=] Attribute Selector, ID Selector, Prefix [^=] Attribute Selector, Substring [*=] Attribute Selector, Suffix [$=] Attribute Selector, Type Selector, Whitespace [~=] Attribute Selector