{"name":"target","type":"selector","title":":target Selector","deprecated":null,"removed":null,"desc":"Selects the target element indicated by the fragment identifier of the document's URI.","categories":["selectors/basic-filter-selectors","version/1.9"],"entries":[{"return":"","signatures":{"added":"1.9"},"examples":null,"longdesc":"\n

If the document's URI contains a fragment identifier, or hash, then the :target selector will match the element with an ID that matches the identifier. For example, given a document with a URI of http://example.com/#foo, $( \"p:target\" ) will select the <p id=\"foo\"> element.

\n

Further discussion of this usage can be found in the W3C CSS specification.

\n "}],"slug":"target-selector"}