“Что такое атрибут в HTML” Ответ

Что такое атрибут в 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>
Wissam

DIR в 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)
Shohanur Rahman

Ответы похожие на “Что такое атрибут в HTML”

Вопросы похожие на “Что такое атрибут в HTML”

Больше похожих ответов на “Что такое атрибут в HTML” по HTML

Смотреть популярные ответы по языку

Смотреть другие языки программирования