<small>: 덧붙임 글 요소
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.
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>
명세
Specification |
---|
HTML # the-small-element |