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

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

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

"acceptcharset" Example

    
<HTML>
<Title>Example For acceptcharset</Title>
<BODY>
<form name="form1" method="post" action="" acceptcharset="UTF-8">
   <input type="text" 
          size=80 
          accept="image/gif" 
          value="If you type a character which is not in the list 
                 of character sets used in the form, 
                 then the UTF-8 character setwill be used">
   </form>
</BODY>
</HTML>



acceptcharset is applied to

+----------------+--------------------------------------------------------------+
| Applied_To     |<form>                                                        |
+----------------+--------------------------------------------------------------+



"acceptcharset" Syntax and Note

Note:
    
This attribute provides a comma-separated list of 
the nonstandard character sets.
    
Syntax:
    
<form acceptcharset="value"> . . . </form>