Complete the code to set the text direction to right-to-left in the HTML tag.
<!DOCTYPE html> <html lang="ar" dir="[1]"> <head> <meta charset="UTF-8"> <title>RTL Example</title> </head> <body> <p>مرحبا بالعالم</p> </body> </html>
The dir attribute controls text direction. For right-to-left languages like Arabic, use rtl.
Complete the Bootstrap class to enable RTL support on the body element.
<body class="[1]"> <div class="container"> <p>هذا نص باللغة العربية</p> </div> </body>
Bootstrap uses the rtl class to enable right-to-left layout support.
Fix the error in the Bootstrap link tag to load the RTL CSS file.
<head> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap[1].min.css"> </head>
Bootstrap RTL CSS files have '-rtl' before the '.min.css' extension.
Fill both blanks to create a Bootstrap button that aligns text to the right in RTL mode.
<button class="btn btn-primary text-[1] float-[2]"> زر </button>
In RTL, text-right aligns text to the right, and float-left floats the button to the left side (which visually appears on the right in RTL).
Fill all three blanks to create a Bootstrap grid row with RTL support and reversed column order.
<div class="row [1]"> <div class="col [2]">عمود 1</div> <div class="col [3]">عمود 2</div> </div>
Using flex-row-reverse reverses the row direction in RTL. Assigning order-2 and order-1 swaps the columns visually.
