Target pseudo-class

This pseudo-class is called target pseudo-class and represents an element which matches against fragment identifier of the URI. For example an URI is pointing to anchor named partHelp like here: the element with the ID partHelp will be selected by this selector.

:target {
    /* declarations */


:target {
    outline: red dotted;

You can also read this

Remove duplicate elements from list by value with jQuery

jQuery is very useful and easy to learn and it’s...

.list {

Random name picker with Javascript

My wife and I will become parents. I believe most...