HTML CSS Reference/HTML Attributes Reference/acceptcharset

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

"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>