---
title: preceding-sibling
slug: Web/XPath/Axes/preceding-sibling
tags:
  - Axe
  - XPath
---
The `preceding-sibling` axis indicates all the nodes that have the same parent as the context node and appear before the context node in the source document.
