HTML Sub, SUP Tags สร้างแท็กราคาผลิตภัณฑ์ในเว็บไซต์อีคอมเมิร์ซ <! doctype html สาธารณะ -// w3c // dtd xhtml 1.0 transitional // en http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd> xmlns = http: //www.w3.org/1999/xhtml> <head> <meta http-equiv = content-type content = text/html; Charset = GB2312/> <title> แท็กย่อยและ SUP ใน html </title> </head> <style type = text/css> body {font: 12px/1.8 tahoma} span.price {font-family: Arial, helvetica, sans-serif; ขนาดตัวอักษร: 16px; Font-Weight: 700; สี: สีแดง;} span.price sub {แนวตั้ง-แนว: baseline; FONT-SIZE: 12px;} span.price sup {แนวตั้ง-แนว: ข้อความด้านล่าง; สี:#555} </style> <body> <span class = ราคา> <sup> ¥ </sup> 43. <ub> 26 </sub> </span> </body> </html> [Ctrl+A เคล็ดลับการเลือกทั้งหมด: คุณสามารถแก้ไขรหัสบางอย่างก่อนจากนั้นกด Run]