HTML 서브, SUP 태그는 전자 상거래 웹 사이트에서 제품 가격표를 만듭니다. <! doctype html public- // w3c // dtd xhtml 1.0 transitional // en http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd> html xmlns = http : //www.w3.org/1999/xhtml> <head> <meta http-equiv = content-type content = text/html; charset = gb2312/> <title> html의 sub 및 sup 태그 </title> </head> <스타일 유형 = text/css> body {font : 12px/1.8 tahoma} span.price {font-family : arial, helvetica, sanserif; 글꼴 크기 : 16px; 글꼴 중량 : 700; 색상 : 빨간색;} span.price sub {vertical-align : 기준선; 글꼴 크기 : 12px;} span.price sup {vertical-align : text-bottom; 색상 :#555} </style> <hod> <span class = price> <up> </sup> 43. <bub> 26 </sub> </span> </body> </html> [Ctrl+A 모든 선택 팁 : 먼저 코드를 수정 한 다음 실행을 누릅니다]