Search
 
SCRIPT & CODE EXAMPLE
 

HTML

what is dir attribute in html

<!--An attribute indicating the directionality of the text-->
<!--ltr: left to right, rtl: right to left, auto: algorithm decides-->
<p dir="rtl">This paragraph is in English but incorrectly goes right to left.</p>
<p dir="ltr">This paragraph is in English and correctly goes left to right.</p>

<hr>

<p>هذه الفقرة باللغة العربية ولكن بشكل خاطئ من اليسار إلى اليمين.</p>
<p dir="auto">هذه الفقرة باللغة العربية ، لذا يجب الانتقال من اليمين إلى اليسار.</p>
Comment

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)
Comment

PREVIOUS NEXT
Code Example
Html :: html input type year 
Html :: html cheetsheet.com 
Html :: html input date range 
Html :: bulma title 
Html :: input radio button html 
Html :: code highlighter html 
Html :: html two classes in one element 
Html :: input name html 
Html :: routerlink with params angular 
Html :: navbar bootstrap 4 
Html :: To use <s:select tag inside a <td for a proper dropdown use theme="simple" 
Html :: add text to pdf footer html 
Html :: validates uniqueness of two columns rails 
Html :: file read from outbox 
Html :: access wireshark through powershell ps1 
Html :: formspree 
Html :: justify content css 
Html :: required pattern date html 
Html :: inline location href 
Html :: adding bootstrap to macros html in flask 
Html :: como ir para outra página em html 
Html :: how to insert computer code to html 
Html :: dk lemon yellow sun html 
Html :: truffle vs brownie 
Html :: how to create table 5 column wise in in html and append it in qury selector and remove it 
Html :: html pretty print 
Html :: emmet abbr 
Html :: html mettre 3 photos avec url 
Html :: how to give h1 h2 in r studio 
Html :: boostrap date input withour day 
ADD CONTENT
Topic
Content
Source link
Name
4+9 =