<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0"/> <title>Example dir attribute - HTML tutorial | w3resource</title> </head> <body> <p dir="ltr" >This text is in left ot right direction.</p> <p dir="rtl">     </p> </body> </html>