<html>
<body>
<form action="https://www.w3schools.com/action_page.php">
First name: <input type="text" name="fname" dirname="fname.html">
<input type="submit" value="Submit">
</form>
<p>When the form is being submitted, the text direction of the input field will also be submitted.</p>
</body>
<!-- Mirrored from www.w3schools.com/tags/tryit.asp?filename=tryhtml5_input_dirname by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 27 Jan 2020 03:09:58 GMT -->
</html>