HTMLサブ、SUPタグは、電子商取引Webサイトで製品価格タグを作成します。 <!doctype html public - // w3c // dtd xhtml 1.0 transitional // en http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd> <hhtml xmlns = http://www.w3.org/1999/xhtml> <head> <meta http-equiv = content-type content = text/html; charset = gb2312/> <title> 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;色:red;} span.price sub {vertical-align:baseline; font-size:12px;} span.price sup {vertical-align:text-bottom;色:#555} </style> <body> <span class = price> <sup> ¥ </sup> 43. <sub> 26 </sub> </span> </body> </html> [ctrl+aすべての選択のヒント:最初にコードを変更してから実行することができます]