Example of target pseudo class.

Since HTML parser allows multiple ids, only the first id element is though accessible.

by jshacker

HTML

<a href="#one">one</a>
<a href="#two">two</a>
<div id="one">This is the real div named one.</div>
<div id="two">This is the real div named two.</div>
<div id="one">This is the real div named one.</div>
<div id="two">This is the real div named two.</div>

CSS

:target {
  color: red;
}