Applies one or more styles to the target element of the referring Uniform Resource Identifier (URI).
A CSS simple selector.
- Selectors Level 3, Section 6.6.2
The :target pseudo-class selects the target element of the referring URI. A fragment identifier is used to identify a location within a document, and is formed using a number sign followed by an anchor identifier—for example, http://www.example.com/mypage.html#section_3.
The following selects the div element of class important that is the target element of the referring URI. If the document's URI has no fragment identifier, there is no target element.
Build date: 2/14/2014