HTML CSS Reference/HTML Attributes Reference/dir — различия между версиями

Материал из Web эксперт
Перейти к: навигация, поиск
м (1 версия)
 
м (1 версия)
 
(нет различий)

Текущая версия на 11:20, 26 мая 2010

"dir" Example

   <source lang="html4strict">
   

<HTML> <head><Title>Example For dir</Title></head> <BODY> <a dir="rtl"

  href="http://www.wbex.ru" 
  target="_blank">rtl ltr</a>

</BODY> </HTML>


     </source>
   
  


dir is applied to

   <source lang="html4strict">

+----------------+--------------------------------------------------------------+ | Applied_To |<a> <acronym> | | |<address> <area> | | | |

| |
|

| |<body> <button> |

| |
|

| | | | |<col> <colgroup> | | |<custom>

| | | |

| |<dir>
| | |
| | | <embed> | | |<fieldset> | | |<form> <head> | | |<hn>
|

| |<html> | | |<img> <input type="button"> | | |<inputtype="checkbox"> <input type="file"> | | |<input type="image"> <inputtype="password"> | | |<input type="radio"> <input type="reset"> | | |<inputtype="submit"> <input type="text"> | | | <isindex> | | | <label> |

| |<legend>
  • | | |<link> <listing> | | |<map> <marquee> | | |<menu> <nobr> | | |<noframes> <object> | | |
      <option> | | |

                               |
      |                |                                                       |
      |                |                                                     |
      |                |                          <select>                      |
      |                |                                                 |
      |                |                                              |
      |                |<style>                                                  |
      |                |                                                  |
      |                |<tbody>                                                   |
      |                |                                                       |
      |                |
        | | |<xmp> | +----------------+--------------------------------------------------------------+ </source>

        "dir" Syntax and Note

        <source lang="html4strict"> Note:

        This attribute sets the read direction. ltr causes content to be read from left to right. rtl causes content to be read from right to left. The default value is ltr.

        Syntax:

        <element dir="value" > . . . </element>


        </source>

      |

      | |<textarea> <tfoot> |

      | |
      <thead> | | |<title>