Home > AI > Language > CSS >

direction

Example code:

<!DOCTYPE html>
<html>
<head>
<style>
p.rtl {
  direction: rtl;
}
</style>
</head>
<body>

<h1>The direction Property</h1>

<p>This text goes from left to right. This is default.</p>

<p class="rtl">This text goes from right to left.</p>

</body>
</html>

Leave a Reply