Computer >> บทช่วยสอนคอมพิวเตอร์ >  >> การเขียนโปรแกรม >> JavaScript

วิธีใส่ข้อความเน้น (Emphasized Text) ใน HTML

ใช้แท็ก <em> สำหรับข้อความที่ต้องการเน้นความสำคัญ เบราว์เซอร์มักแสดงเป็นตัวเอียง (italic)

ตัวอย่าง

<!DOCTYPE html>
<html>
  <head>
    <title>HTML em Tag</title>
  </head>
  <body>
    <p>Simply Easy <em>Learning</em>.</p>
  </body>
</html>