How to force a piece of text to be 'direction ltr' inside a 'direction rtl' paragraph

后端 未结 3 1234
-上瘾入骨i
-上瘾入骨i 2021-02-02 09:47

So, phone numbers are always ltr (left to right).

Working on a multilingual website I need to insert a phone number (with a \'+\' prefix and numbers separated by \'-\')

3条回答
  •  灰色年华
    2021-02-02 10:32

    Another option could be to use dir='ltr' attribute, in your inline element:

    Please call to +44-123-321 for some help

    Please note that including in your HTML is as bad as using dir='ltr' attribute.

提交回复
热议问题