<html xmlns="http://www.w3.org/1999/xhtml"> <head> <style> div::first-letter { color: magenta; } </style> </head> <body style="direction: rtl;"> <div> AB</div> </body> </html>