Add text direction to `<html>` tag