Sunday 24 November 2013

Chapter 6: Text Formating » Text Direction and Quotations

»  Text Direction

We will going to show you how to change the text direction.

» EXAMPLE:

<html>
<body>

<bdo dir="rtl">
This is backward text.
</bdo>

</body>
</html>

» Result:


This is backward text.


Quotations

The following example demonstrates how to handle long and short quotations.Line breakes and margins are inserted automatically by the browser.

EXAMPLE:

<html>
<body>

<blockquote>
Long quotation. Long quotation. Long quotation. Long quotation.
              Long quotation. Long quotation. Long quotation.
</blockquote>

<q>Short quotation.</q>
 
</body>


</html>

Result:


Long quotation. Long quotation. Long quotation. Long quotation. Long quotation. Long quotation. Long quotation.

Short quotation.


No comments:

Post a Comment