We would like to know how to get previous previous sibling.
<!DOCTYPE html>
<html>
<body>
<div class="des">
<h1>Test</h1>
<div class="desleft">
<p>Lorem Ipsum.</p>
</div><!-- ww w . j a v a 2 s. c o m-->
<div class="Right">
<button>Test</button>
</div>
</div>
<script type='text/javascript'>
console.log(document.getElementsByClassName("desleft")[0].previousSibling.previousSibling.tagName)
</script>
</body>
</html>
The code above is rendered as follows: