Jak wybrać ostatni typ elementu w HTML

/* Selects any <p> that is the last element
   of its type among its siblings */
p:last-of-type {
  color: lime;
}
REX OMIV