HyperText Markup Language/Tag List/bdo

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Use[edit | edit source]

This reverses the text that is embedded in it. Used when dealing with other languages that write from right to left. For example Arabic.

Example[edit | edit source]

<bdo dir="rtl">This text will be backwards.</bdo>

This will return the text backwards. e.g. (.sdrawkcab eb lliw txet sihT)

Required attributes[edit | edit source]

dir[edit | edit source]

Either choose "ltr" for left to right or "rtl" for right to left. This declares what direction the text goes.

More info[edit | edit source]

A link to a page with more info, then the name of the site the info came from (i.e. W3Schools).