About & Social

0
2. Text Direction Property:

This property is used to indicate the direction of the text. The use of a lot less. Although you do not have it.

   1. 
           <html>
             <head>
                  <style type=”text/css”>
                        p {direction:rtl;}
                        h5{direction:ltr}
                  </style>
             </head>
                    <body>
                        <p> Some text. Default writing direction.</p>
                        <h5>Some text. Default writing direction.</h5>
                    </body>
       </html>


 2.

       <html>
       <head>
       <style>
              div.ex1 {
              direction: rtl;
              }
       </style>
       </head>
       <body>

              <div>Some text. Default writing direction.</div>
              <div class="ex1">Some text. Right-to-left direction.</div>

       </body>
</html>


Text Direction Property

Post a Comment

Dear readers, after reading the Content please ask for advice and to provide constructive feedback Please Write Relevant Comment with Polite Language.Your comments inspired me to continue blogging. Your opinion much more valuable to me. Thank you.