# text-anchor property

Aligns a string of text relative to the specified point.

## Syntax

`text-anchor: start | middle | end | inherit`

## Property values

One of the following values:

`start`

The start of the text is aligned at the initial text position.

`middle`

The geometric middle of the text is aligned at the initial text position.

`end`

The end of the text is aligned at the initial text position.

`inherit`

Use the computed value of this property from an ancestor element.

## CSS information

Applies To text content elements visual 1 start

## Remarks

Each text element has an initial current text position, defined as a point in the user coordinate system.