h3 class "third"

span span class "second" span also class "second"

p

p class "first"

p

h3

h2

span

p

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