HTML CSS Reference/HTML Attributes Reference/acceptcharset

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

"acceptcharset" Example

   <source lang="html4strict">
   

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


     </source>
   
  


acceptcharset is applied to

   <source lang="html4strict">

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

     </source>
   
  


"acceptcharset" Syntax and Note

   <source lang="html4strict">

Note:

This attribute provides a comma-separated list of the nonstandard character sets.

Syntax:

<form acceptcharset="value"> . . . </form>


     </source>