<!DOCTYPE html>
<html lang="en-US">
<body>
<form action="/input-dir.php" id="myForm">
<input dirname="direction.dir" name="desc">
<input type="submit">
</form>
<p><strong>Note : </strong> Please check the submitted url in developer tools. It looks as follows</p>
<p>https://wikimass.com/input-dir.php?desc=myText&<span style="color:red">direction.dir=ltr</span></p>
<p>Try to put dir="rtl" in the input attribute section and submit to see the change in your submitted <strong>URL</strong>.</p> </body>
</html>