« Documentation Home

dir attribute

This documentation relates to Opera's now deprecated .oex Extension API framework for Opera versions <= 12.15 and also provided by our OEX2NEX shim library.

For the latest Opera Extensions API documentation for Opera versions > 12.15 please consult the latest Opera Extensions API documentation online.

Description

The dir attribute defines the direction of the language used by an element with the following values:

Example

<?xml version="1.0" encoding="utf-8"?>
<widget xmlns="http://www.w3.org/ns/widgets" id="http://example.com/myExtension" version="1.0">
 ...
  <span dir="rtl">
    Text meant to be read from right to left can go here.
  </span>
  ...
</widget>