---
title: "IElementTraversal.PreviousElementSibling"
url: "https://reference.aspose.com/html/java/com.aspose.html.dom.traversal/ielementtraversal/previouselementsibling/"
product: "Aspose.HTML for Java API Reference"
description: "IElementTraversal property. Returns the previous sibling element node of this element. null if this element has no element sibling nodes that come before this one in the document tree"
---

## IElementTraversal.PreviousElementSibling property

Returns the previous sibling element node of this element. null if this element has no element sibling nodes that come before this one in the document tree.

```java
public Element PreviousElementSibling { get; }
```

### Property Value

The previous element sibling.

### See Also

* class [Element](../../../com.aspose.html.dom/element/)
* interface [IElementTraversal](../)
* package [com.aspose.html.dom.traversal](../../../com.aspose.html.dom.traversal/)
* package [Aspose.HTML](../../../)
