Web platform features explorer

dirname

Newly available since 2023-08-01
Tags: api html

The dirname attribute of <textarea> and <input> HTML elements includes the field's writing direction as form data on submission.

Learning resources on MDN

No MDN documentation found. You can search for the feature on MDN. If you believe that MDN has no documentation about this feature, you can open an issue on MDN's GitHub repository.

Browser support

Specifications