---
title: attribute
slug: Web/XPath/Axes/attribute
tags:
  - Axe
  - XPath
---
The `attribute` axis indicates the attributes of the context node. Only elements have attributes. This axis can be abbreviated with the at sign (`@`).
