<!DOCTYPE html> <html> <head> </head> <body onload="document.getElementById('div').style.direction = 'rtl';"> <div id="div"> <pre> English </pre> </div> </body> </html>