<!DOCTYPE html> <html> <fieldset><legend style="position:relative;left:20px;">Legend</legend></fieldset> <fieldset dir="rtl"><legend style="position:relative;right:20px;">Legend</legend></fieldset> </html>