--- title: slug: Web/HTML/Element/b tags: - Element - HTML - HTML text-level semantics - 'HTML:Flow content' - 'HTML:Phrasing content' - Reference - Web translation_of: Web/HTML/Element/b ---
{{HTMLRef}}

HTML <b> 요소는 독자의 주의를 요소의 콘텐츠로 끌기 위한 용도로 사용합니다. 그 외의 다른 특별한 중요도는 주어지지 않습니다. 원래는 "굵은 글씨 요소"로 불렸으며, 대부분의 브라우저도 여전히 텍스트를 굵은 글씨체로 강조합니다. 그러나 <b>를 사용해 텍스트를 꾸미면 안됩니다. 대신 CSS {{cssxref("font-weight")}}를 사용해 굵은 글씨체를 적용하거나, {{htmlelement("strong")}} 요소를 사용해 특별히 중요한 텍스트를 나타내세요.

{{EmbedInteractiveExample("pages/tabbed/b.html", "tabbed-shorter")}}
콘텐츠 카테고리 플로우 콘텐츠, 구문 콘텐츠, 뚜렷한 콘텐츠.
가능한 콘텐츠 구문 콘텐츠.
태그 생략 {{no_tag_omission}}
가능한 부모 요소 구문 콘텐츠를 허용하는 모든 요소.
암시적 ARIA 역할 대응하는 역할 없음
가능한 ARIA 역할 모두
DOM 인터페이스 {{domxref("HTMLElement")}}

특성

이 요소는 전역 특성만 포함합니다.

사용 일람

예제

<p>
  This article describes several <b class="keywords">text-level</b> elements.
  It explains their usage in an <b class="keywords">HTML</b> document.
</p>
Keywords are displayed with the default style of the <b>element, likely in bold</b>.

결과

{{EmbedLiveSample("예제")}}

명세

명세 상태 주석
{{SpecName('HTML WHATWG', 'semantics.html#the-b-element', '<b>')}} {{Spec2('HTML WHATWG')}}
{{SpecName('HTML5 W3C', 'textlevel-semantics.html#the-b-element', '<b>')}} {{Spec2('HTML5 W3C')}}
{{SpecName('HTML4.01', 'present/graphics.html#h-15.2.1', '<b>')}} {{Spec2('HTML4.01')}}

브라우저 호환성

{{Compat("html.elements.b")}}

같이 보기