May 15, 2008 - Rajesh Odayanchal

Universal selector

The universal selector, written “*”, matches the name of any element type. It matches any single element in the document tree.

If the universal selector is not the only component of a simple selector, the “*” may be omitted. For example:

* *[LANG=fr] and [LANG=fr] are equivalent.
* *.warning and .warning are equivalent.
* *#myid and #myid are equivalent.

css / css tags / css3 / help / html / HTML5 css / help / tutorial /

Leave a Reply

Your email address will not be published. Required fields are marked *