Bold, italic and line breaks · ตัวหนา ตัวเอียง และการขึ้นบรรทัดใหม่
This page needs a recent browser (with SharedArrayBuffer support). Please update Chrome, Edge, Firefox or Safari to the latest version. · หน้านี้ต้องใช้เบราว์เซอร์ล่าสุด (รองรับ SharedArrayBuffer) กรุณาอัปเดต Chrome, Edge, Firefox หรือ Safari เป็นเวอร์ชันล่าสุด
English
Make words stand out
<strong>makes text bold — for important words.<em>makes text italic — for a gentle emphasis.- Wrap only the word you want:
very <strong>important</strong> news.
ไทย
ทำให้ข้อความโดดเด่นขึ้น
<strong>ทำให้ตัวหนังสือ หนา — สำหรับคำสำคัญ<em>ทำให้ตัวหนังสือ เอียง — เพื่อเน้นย้ำอย่างนุ่มนวล- ล้อมรอบเฉพาะคำที่คุณต้องการ:
very <strong>important</strong> news
<p>This cake is <strong>delicious</strong> and still <em>warm</em>.</p>
English
Line breaks
- Sometimes you want a new line inside one paragraph.
- Use
<br>— a single tag with no closing tag and nothing inside it. - It is like pressing Enter once.
ไทย
การขึ้นบรรทัดใหม่
- บางครั้งคุณต้องการขึ้นบรรทัดใหม่ ภายใน ย่อหน้าเดียว
- ใช้
<br>— แท็กเดี่ยวที่ ไม่มีแท็กปิด และไม่มีการใส่สิ่งใดลงไปข้างใน - มันเหมือนกับการกดปุ่ม Enter หนึ่งครั้ง
<p>Roses are red<br>Violets are blue</p>
English
Common mistakes
<br>makes a line break and has no closing tag.- Use
<strong>and<em>for meaning, not just bold or italic looks.
ไทย
ข้อผิดพลาดที่พบบ่อย
<br>ทำให้เกิดบรรทัดใหม่และไม่มีการแท็กปิด- ใช้
<strong>และ<em>เพื่อสื่อความหมาย ไม่ใช่แค่เพื่อให้ดูหนาหรือเอียง
English
Now you try
- Wrap a word to make it bold, and add a line break.
- Press ▶ after each change to see what happens.
ไทย
ลองดูเลย
- ล้อมรอบคำเพื่อทำให้หนา แล้วเพิ่มการขึ้นบรรทัดใหม่
- กด ▶ หลังแต่ละการแก้ไขเพื่อดูผลลัพธ์
Make the word fresh bold. Wrap just that word in <strong> … </strong>. · ทำให้คำ fresh เป็นตัวหนา ห่อคำนั้นด้วย <strong> … </strong> เท่านั้น
Add a <br> between the two lines so they show one above the other. · เพิ่ม <br> ระหว่างสองบรรทัดเพื่อให้แสดงซ้อนกันเป็นแถวเดียว