Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

dir in html

A paragraph with a right-to-left direction:

  <p dir="rtl">Write this text right-to-left!</p>

Value :
 ltr	Default. Left-to-right text direction
 rtl	Right-to-left text direction
 auto	Let the browser figure out the text direction, based on the content (only recommended if the text direction is unknown)
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #dir #html
ADD COMMENT
Topic
Name
7+3 =