ul (parent)
- li (sibling)
- li (sibling)
- li (sibling with class name "start")
- li (the next sibling of li with class name "start")
- li (the next sibling of li with class name "start")
- li (the next sibling of li with class name "start")
- li (sibling with class name "stop")
In this example, we use the DOM method getElementsByClassName() to return all next sibling elements between the li element with class name "start" and the li element with class name "stop".