3,860
edits
(Corr.) |
|||
| Line 2: | Line 2: | ||
__NOTOC__ | __NOTOC__ | ||
==Usage== | ==Usage== | ||
{{tlf|'''bdo'''}} is a front-end for the HTML element {{tag|bdo|o}}, which is used to delimit a span of text that has a text direction which is | {{tlf|'''bdo'''}} is a front-end for the HTML element {{tag|bdo|o}}, which is used to delimit a span of text that has a text direction which is known and opposite to that of the main text. It enables the use of, e.g. Arabic script as inline text in an English article (and ''vice versa''). | ||
Mixed text directions often causes text flow problems. Words will become jumbled at line-breaks, and punctuation marks may be displayed on the wrong side of the string, since they get interpreted as part of the inserted text. | Mixed text directions often causes text flow problems. Words will become jumbled at line-breaks, and punctuation marks may be displayed on the wrong side of the string, since they get interpreted as part of the inserted text. | ||
edits