Dir attribute in multilingual text

Should I add dir="ltr" to the following anchor tag?

<!DOCTYPE html>
<html dir="rtl" lang="fa">
    <meta charset="UTF-8">
      <li>اپلیکیشن <a href="https://play.google.com/store/apps/details?id=com.google.android.apps.tachyon" lang="en">Google Meet</a> را نصب کنید.</li>
      <li>با کلیک بر روی یکی از لینکهای زیر، وارد کلاس مورد نظر شوید.</li>

Yes, I think so. Or you could use the auto value which will let the browser decide on the direction.

applies that directionality to the whole element.

Though this suggests you may need another dir attribute for the parts that are English.


This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.