HTML CSS Reference/HTML Attributes Reference/lang

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

"lang" Example

   <source lang="html4strict">
   

<HTML> <head><Title>Example For lang</Title></head> <BODY>

Este es un nmero escrito en espaol: 12,38

Celui-ci est un nombre ecrit en francais : 0,52

</BODY> </HTML>


     </source>
   
  


lang is applied to

   <source lang="html4strict">

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

| |
<body> |

| |<button> |

| |
|

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

| | | |

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

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

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

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

        "lang" Syntax and Note

        <source lang="html4strict"> Note:

        This attribute sets the document language. Once set the browser uses it to determine how to display quotes, numbers.

        Syntax:

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


        </source>

      <textarea> | | |<tfoot> |

      | |<thead> <title> |

      | |