<div class="gbz_smsblock" id="TH">
<div class="gbz_smsblock_header"> <img src="images/growbiz_logo.png" class="logogrowbiz">
<h3>เรียกใช้ผู้ช่วยอัจฉริยะของคุณ</h2>
<p>เปิดลิงก์ใน SMS ที่ส่ง<i style="color:#000">(กับ Growbiz)</i><br>
เพื่อตรวจสอบและเปิดตัวภายใน 60 วินาที</p>
</div>
<div class="sms_numberblock">
<p>SMS ถูกส่งไปที่</p>
<!-- <p><a href="" class="sms_btn">Re-send SMS</a> <a href="" class="sms_btn">Change HP num</a> </!-->
</div>
<div class="smscontentblock">
<p>อนุญาต / เปิดใช้งานการแจ้งเตือนสำหรับ
<b><i>Growbiz</i></b> อนุญาตให้<br>
ผู้ช่วยที่ชาญฉลาดในการทำงานกับคุณได้อย่างราบรื่น</p>
<div class="bizimgblock">
<div class="sms_overtext"> Growbiz คือ<br>
แล้วใน<br>
โทรศัพท์ของคุณ!</div>
<img class="" src="images/sms_pic.png" width="100%">
</div>
<p class="powerdby"><a href=""><u>เรียนรู้เพิ่มเติมเกี่ยวกับแอป Growbiz</u></a></p>
</div>
</div>
- 3,450
- 4
- 17
- 40
- 39
- 1
- 2
- 7
-
1Does this answer your question? [UTF-8 all the way through](https://stackoverflow.com/questions/279170/utf-8-all-the-way-through) – Cid Nov 18 '19 at 09:23
-
What exactly are your issues with this HTML fragment? Please [edit] them into your question. – Hans Kesting Nov 18 '19 at 09:35
2 Answers
Should I change lang="en" into lang="th" or should I leave it like it is
The lang attribute describes the language the document is written in. If you are writing in Thai, you should not claim you are writing in English.
How do I add Thai langauge to a website?
Just type it.
And what about charset? Is there another charset for Thai language?
There are plenty of character encodings out there. Different ones support different sets of characters. UTF-8 supports all the characters you need for just about every language out there and is a good default choice.
You might get better performance out of TIS-620 but note that you'll need to actually save the file as TIS-620. Just telling the browser you are using it will not work.
How to use Thai web font on a website?
The same way you use any other web font.
- 3,376
- 2
- 8
- 28
Add these two tags to the head part of your html:
<meta http-equiv="Content-Language" content="th" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
If above does not work for you then try to add the below line:
<meta http-equiv="Content-Type" content="text/html; charset=windows-874">
- 1,681
- 2
- 16
- 24