Show Output
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Example of CSS direction property</title> <style> p { direction: ltr; unicode-bidi: bidi-override; } p.reverse { direction: rtl; unicode-bidi: bidi-override; } </style> </head> <body> <p>The <code>direction</code> property defines the text direction/writing direction.</p> <p class="reverse">The <code>direction</code> property defines the text direction/writing direction.</p> </body> </html>