h3 class "3"

span span class "2" span also class "2"

p

p class "1"

p

h3

h2

span

p

In this example, we return all elements with class names "1", "2" and "3", that are previous siblings of the li element with class name "start".