HTML <form> accept-charset Attribute
ဥပမာ
လက်ခံ-အက္ခရာ သတ်မှတ်ရည်ညွှန်းချက်ပါရှိသော ဖောင်တစ်ခု-
<form action="/action_page.php" accept-charset="utf-8">
<label for="fname">First name:</label>
<input type="text" id="fname"
name="fname"><br><br>
<input type="submit" value="Submit">
</form>
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
accept-charset
ရည်ညွှန်းချက်သည် ဖောင်တင်ပြမှုအတွက် အသုံးပြုရမည့် ဇာတ်ကောင်ကုဒ်နံပါတ်များကို သတ်မှတ်ပေးသည် ။
Browser ပံ့ပိုးမှု
Attribute | |||||
---|---|---|---|---|---|
accept-charset | Yes | Yes | Yes | Yes | Yes |
အထားအသို
<form accept-charset="character_set">
ရည်ညွှန်းတန်ဖိုးများ
Value | Description |
---|---|
character_set | A space-separated list of one or more character encodings that are to be used for the form submission. Common values:
In theory, any character encoding can be used, but no browser understands all of them. The more widely a character encoding is used, the better the chance that a browser will understand it. To view all available character encodings, go to our Character sets reference. |
❮ HTML <form> tag