HTML 사전

sub

설명

The HTML Subscript Element (<sub>) defines a span of text that should be displayed, for typographic reasons, lower, and often smaller, than the main span of text.

보통 하단부에 조그맣게  표시되어야 할 글 영역을 정의하기 위해 사용한다. 활자적 의미가 있는 아랫첨자를 지정하는 요소이다.

Usage note:
 •This element should be used for typographical reasons only, i.e. changing the position of the text changing its meaning like in mathematical (like t2, though the use of a MathML formula should be considered) or chemical formulas (like H2O).
 •This element must not be used for styling purpose like the styling of the product name Latex. In that case CSS style should be used: the vertical-align property with the sub value will achieve the same effect.

사용 참고:
*  글의 위치와 크기가가 바뀌면 그 의미가 바뀔 수 있는 수식이나 화학식, 한자를 음으로 풀어쓰기등(한자를 음으로 풀어쓸때 sub인지, sup인지 아니면 CSS를 사용하는지에 대한 의견 필요 ) 활자적 의미가 있을때만 사용되어야 한다.
* 글쇄 모양새를 위한 용도로 사용되어서는 안되고 그때는 CSS스타일링이 사용되어야 한다. CSS의 자막값(sub value)과 세로열맞춤 속성(vertical-align property)을 사용하면 동일한 효과를 사용할 수 있다. 

Usage Context

Permitted content Phrasing content
Tag omission None as both the start and end tag are mandatory.
Permitted parent elements Any element that can contain phrasing content
Normative document HTML5, section 4.6.14 (HTML4.01, section 9.2.3)

속성

이 엘리먼트는 전역속성을 지원한다.

예제

<p>The chemical formula of water is H<sub>2</sub>O</p>

DOM Interface

This element implements the HTMLElement interface.

호환성

Desktop
기능 구글크롬 파이어폭스Gecko) 인터넷 익스플로러 Opera Safari
기본적인 지원          
Mobile
기능 안드로이드 파이어폭스 모바일(Gecko) 인터넷 익스플로러 모바일 오페라 모바일 사파리 모바일
기본적인 지원          

참고

댓글

댓글 본문
  1. Albert.q.park
    한자를 음으로 풀어쓸때 sub을 사용해야 하는지, sup을 사용해야 하는지 혹은, CSS를 사용하는지에 대한 의견 필요합니다~
버전 관리
큐즈
현재 버전
선택 버전
graphittie 자세히 보기