Articles tagged: Selectors

Found 48 documents.

  • Using_the_:target_selector When a URL points at a specific piece of a document, it can be difficult to ascertain. Find out how ...
  • Web/API/document.querySelector Returns the first element within the document (using depth-first pre-order traversal of the ...
  • Web/API/Document.querySelectorAll Returns a list of the elements within the document (using depth-first pre-order traversal of the ...
  • Web/CSS/:-moz-placeholder The :-moz-placeholder pseudo-class represents any form element displaying placeholder text. This ...
  • Web/CSS/:-moz-submit-invalid The :-moz-submit-invalid CSS pseudo-class represents any submit button on forms whose contents ...
  • Web/CSS/:-moz-ui-valid The :-moz-ui-valid CSS pseudo-class represents any validated form element whose value validates ...
  • Web/CSS/::-moz-placeholder The ::-moz-placeholder pseudo-element represents any form element displaying placeholder text. This ...
  • Web/CSS/::first-letter The ::first-letter CSS pseudo-element selects the first letter of the first line of a block, if it ...
  • Web/CSS/::first-line The ::first-line CSS pseudo-element applies styles only to the first line of an element. The amount ...
  • Web/CSS/:any The :any() pseudo-class lets you quickly construct sets of similar selectors by establishing groups ...
  • Web/CSS/:checked The :checked CSS pseudo-class selector represents any radio (input type="radio"), checkbox (input ...
  • Web/CSS/:disabled The :disabled CSS pseudo-class represents any disabled element. An element is disabled if it can't ...
  • Web/CSS/:empty The :empty pseudo-class represents any element that has no children at all. Only element nodes and ...
  • Web/CSS/:enabled The :enabled CSS pseudo-class represents any enabled element. An element is enabled if it can be ...
  • Web/CSS/:first-child The :first-child CSS pseudo-class represents any element that is the first child element of its ...
  • Web/CSS/:first-of-type The :first-of-type CSS pseudo-class represents the first sibling of its type in the list of ...
  • Web/CSS/:focus The :focus CSS pseudo-class is applied when a element has received focus, either from the user ...
  • Web/CSS/:indeterminate The :indeterminate CSS pseudo-class represents any input type="checkbox" element whose ...
  • Web/CSS/:invalid The :invalid CSS pseudo-class represents any input or form element whose content fails to validate ...
  • Web/CSS/:lang The :lang CSS pseudo-class matches elements based on the language the element is determined to be ...
  • Web/CSS/:last-child The :last-child CSS pseudo-class represents any element that is the last child element of its ...
  • Web/CSS/:last-of-type The :last-of-type CSS pseudo-class represents the last sibling of its type in the list of children ...
  • Web/CSS/:left The :left CSS page pseudo-class matches any left page when printing a page. It allows to describe ...
  • Web/CSS/:not The negation CSS pseudo-class, :not(X), is a functional notation taking a simple selector X as an ...
  • Web/CSS/:nth-child The :nth-child(an+b) CSS pseudo-class matches an element that has a n+ b -1 siblings before it in ...
  • Web/CSS/:nth-last-child The :nth-last-child CSS pseudo-class matches an element that has a n+ b -1 siblings after it in the ...
  • Web/CSS/:nth-last-of-type The :nth-last-of-type CSS pseudo-class matches an element that has a n+ b -1 siblings with the same ...
  • Web/CSS/:nth-of-type The :nth-of-type CSS pseudo-class matches an element that has a n+ b -1 siblings with the same ...
  • Web/CSS/:only-child The :only-child CSS pseudo-class represents any element which is the only child of its parent. This ...
  • Web/CSS/:only-of-type The :only-of-type CSS pseudo-class represents any element that has no siblings of the given type.
  • Web/CSS/:optional The :optional CSS pseudo-class represents any input element that does not have the required ...
  • Web/CSS/:required The :required CSS pseudo-class represents any input element that has the required attribute set on ...
  • Web/CSS/:right The :right CSS page pseudo-class matches any right page when printing a page. It allows to describe ...
  • Web/CSS/:root The :root CSS pseudo-class matches the root element of a tree representing the document. Applied to ...
  • Web/CSS/:target The :target pseudo-class represents the unique element, if any, with an id matching the fragment ...
  • Web/CSS/:valid The :valid CSS pseudo-class represents any input element whose content validates correctly ...
  • Web/CSS/:visited The :visited CSS pseudo-class lets you select only links that have been visited. This style may be ...
  • Web/CSS/Adjacent_sibling_selectors This is referred to as an adjacent selector. It will select only the specified element that ...
  • Web/CSS/Attribute_selectors Attribute selectors select an element using the presence of a given attribute or attribute value.
  • Web/CSS/Child_selectors The combinator separates two selectors and matches only those elements matched by the second ...
  • Web/CSS/Class_selectors In an HTML document, CSS class selectors match an element based on the contents of the element's ...
  • Web/CSS/Descendant_selectors The ␣ combinator (that's meant to represent a space, or more properly one or more whitespace ...
  • Web/CSS/General_sibling_selectors The ~ combinator separates two selectors and matches the second element only if it is preceded by ...
  • Web/CSS/ID_selectors In an HTML document, CSS ID selectors match an element based on the contents of that element's ID ...
  • Web/CSS/quotes The quotes CSS property indicates how user agents should render quotation marks.
  • Web/CSS/Type_selectors CSS type selectors match elements by node name. Used alone, therefore, a type selector for a ...
  • Web/CSS/Universal_selectors An Asterisk (*) is the universal selector for CSS. It matches a single element of any type. ...
  • Web/Guide/HTML/HTML5/Constraint_validation The creation of web forms has always been a complex task. While marking up the form itself is easy, ...