# Page Number

The `<pageNumber>` tag displays the number of the current page when it is printed. Page numbers are always displayed as `current page / total pages`, for example as `3 / 89`.

It can only be used within a [`<template>`](https://docs.atfinity.io/document-xml-adx/adx-elements/template).

## Example

```markup
<template ...>
  ...
  <pageNumber
    left="20mm"
    bottom="20mm"
    width="190mm"
    height="10mm"
  />
  ...
<template>
```
