# Set the direction of a text with CSS

JavascriptWeb DevelopmentFront End Scripts

The direction property is used to set the text direction. Possible values are ltr or rtl.

## Example

You can try to run the following code to set the text direction with CSS:

<html>
</html>