Assign this style to some value of the correct type.
Assign this style to some value of the correct type.
The name of this style in CSS, normally dash-separated
The name of this style in CSS, normally dash-separated
The rendered characters are aligned such that the end of the text string is at the initial current text position.
The rendered characters are aligned such that the end of the text string is at the initial current text position.For Latin in its usual orientation this is equivalent to right alignment. For scripts that are inherently right to left such as Hebrew and Arabic, this is equivalent to left alignment.
MDN
The name of this style from Javascript, normally camel-case
The name of this style from Javascript, normally camel-case
The rendered characters are aligned such that the middle of the text string is at the current text position.
The rendered characters are aligned such that the middle of the text string is at the current text position. (For text on a path, conceptually the text string is first laid out in a straight line. The midpoint between the start of the text string and the end of the text string is determined. Then, the text string is mapped onto the path with this midpoint placed at the current text position.)
MDN
The rendered characters are aligned such that the start of the text string is at the initial current text position.
The rendered characters are aligned such that the start of the text string is at the initial current text position. For Latin in its usual orientation this is equivalent to left alignment. For scripts that are inherently right to left such as Hebrew and Arabic, this is equivalent to right alignment. For Asian text with a vertical primary text direction, this is comparable to top alignment.
MDN
The text-anchor attribute is used to align (start-, middle- or end-alignment) a string of text relative to a given point.
MDN