HTML <small>
요소는 덧붙이는 글이나, 저작권과 법률 표기 등의 작은 텍스트를 나타냅니다. 기본 상태에서 <small>
은 자신의 콘텐츠를 한 사이즈 작은 글꼴(small
에서 x-small
등)로 표시하지만, 스타일을 적용한 후에도 글씨 크기가 작을 필요는 없습니다.
The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request.
The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request.
콘텐츠 카테고리 | 플로우 콘텐츠, 구문 콘텐츠. |
---|---|
가능한 콘텐츠 | 구문 콘텐츠. |
태그 생략 | None, both the starting and ending tag are mandatory. |
가능한 부모 요소 | 구문 콘텐츠를 허용하는 모든 요소, 또는 플로우 콘텐츠를 허용하는 모든 요소. |
가능한 ARIA 역할 | 모두 |
DOM 인터페이스 | HTMLElement |
특성
이 요소는 전역 특성만 포함합니다.
예제
기본 사용법
<p>This is the first sentence.
<small>This whole sentence is in small letters.</small>
</p>
CSS 예제
<p>This is the first sentence.
<span style="font-size:0.8em">This whole sentence is in small
letters.</span>
</p>
명세
Specification | Status | Comments |
---|---|---|
HTML Living Standard The definition of '<small>' in that specification. |
Living Standard | |
HTML5 The definition of '<small>' in that specification. |
Recommendation | |
HTML 4.01 Specification The definition of '<small>' in that specification. |
Recommendation |
참고
<b>
, <i>
, <small>
요소는 구조와 표현을 분리하는 원칙을 위배하는 것처럼 보이지만, 셋 모두 HTML5에서 유효합니다. 작성자는 <small>
과 CSS 중 어느 것을 사용할지 결정하기 전에 심사숙고해야 합니다.
브라우저 호환성
BCD tables only load in the browser