IT. Expert System.

JQUERY

CSS Selectors


CSS Selectors

A selector is a pattern that matches a set of elements in an HTML or XML document.

The following table summarizes the CSS Selector syntax:

Pattern Type Matches
* U any element
E T an element of type E
E[foo] A an E element with a "foo" attribute
E[foo="bar"] A an E element whose "foo" attribute value is exactly equal to "bar"
E[foo~="bar"] A an E element whose "foo" attribute value is a list of whitespace-separated values, one of which is exactly equal to "bar"
E[foo|="en"] A an E element whose "foo" attribute has a hyphen-separated list of values beginning (from the left) with "en"
E:first-child P an E element, first child of its parent
E:link
E:visited
P an E element being the source anchor of a hyperlink of which the target is not yet visited (:link) or already visited (:visited)
E:active
E:hover
E:focus
P an E element during certain user actions
E:lang(fr) P an element of type E in language "fr" (the document language specifies how language is determined)
E::first-line P the first formatted line of an E element
E::first-letter P the first formatted letter of an E element
E::before P generated content before an E element
E::after P generated content after an E element
E.warning L an E element whose class is "warning" (the document language specifies how class is determined).
E#myid I an E element with ID equal to "myid".
E F D an F element descendant of an E element
E>F C an F element child of an E element
E + F S an F element immediately preceded by an E element
Type Legend:
A - Attribute
C - Child
I - ID
L - Class
D - Descendant
P - Pseudo-class/element
S - Adjacent Sibling
T - Type
U - Universal


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 60 / 158781099. Delta: 0.02093 с