Pls can someone explain to me the "dir" attribute and the <bdo> tag | Sololearn: Learn to code for FREE!
Nowy kurs! Każdy programista powinien nauczyć się Generative AI!
Wypróbuj darmową lekcję
0

Pls can someone explain to me the "dir" attribute and the <bdo> tag

13th Jul 2016, 3:25 PM
Denewbie
Denewbie - avatar
5 odpowiedzi
0
It is used to determine the direction of text and writing contained in <bdo> tag. The possible values of this attribute are "ltr" (left to right) and "rtl" (right to left).
13th Jul 2016, 5:20 PM
Azwan Abdullah
Azwan Abdullah - avatar
0
So can I use the dir attribute alone in a different tag aside with bdo?
13th Jul 2016, 5:53 PM
Denewbie
Denewbie - avatar
0
I'm not very sure about that but some attribute is designed to work on some tag only while some other attribute you can use with all tags. You can try to search and see examples online. Anyway, programming is easy and fun to learn. You should try to experiment with many examples so that you can see the differences, and gain more skills. Hope that answers your question. ☺
14th Jul 2016, 1:20 AM
Azwan Abdullah
Azwan Abdullah - avatar
0
Thanks ☺
14th Jul 2016, 1:21 AM
Denewbie
Denewbie - avatar
0
You're welcome 👌👍
14th Jul 2016, 1:24 AM
Azwan Abdullah
Azwan Abdullah - avatar