<small>: 덧붙임 글 요소
HTML <small>
요소는 덧붙이는 글이나, 저작권과 법률 표기 등의 작은 텍스트를 나타냅니다. 기본 상태에서 <small>
은 자신의 콘텐츠를 한 사이즈 작은 글꼴(small
에서 x-small
등)로 표시하지만, 스타일을 적용한 후에도 글씨 크기가 작을 필요는 없습니다.
시도해 보기
<p>
MDN Web Docs is a learning platform for Web technologies and the software that
powers the Web.
</p>
<hr />
<p>
<small
>The content is licensed under a Creative Commons Attribution-ShareAlike 2.5
Generic License.</small
>
</p>
small {
font-size: 0.7em;
}
특성
이 요소는 전역 특성만 포함합니다.
예제
>기본 사용법
html
<p>
This is the first sentence.
<small>This whole sentence is in small letters.</small>
</p>
CSS 예제
html
<p>
This is the first sentence.
<span style="font-size:0.8em">This whole sentence is in small letters.</span>
</p>
명세
참고
<b>
, <i>
, <small>
요소는 구조와 표현을 분리하는 원칙을 위배하는 것처럼 보이지만, 셋 모두 HTML5에서 유효합니다. 작성자는 <small>
과 CSS 중 어느 것을 사용할지 결정하기 전에 심사숙고해야 합니다.