Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

<strong>

현재 번역은 완벽하지 않습니다. 한국어로 문서 번역에 동참해주세요.

Summary

HTML의 Strong 태그 (<strong>) 는 글자에 강조 효과를 줄 수 있으며, bold 체로 보여지게 됩니다.

Usage context

Content categories Flow content, phrasing content
Permitted content Phrasing content
Tag omission None, must have both a start tag and an end tag
Permitted parent elements Any element that accepts phrasing content, or any element that accepts flow content
Normative document HTML5, section 4.6.3; HTML 4.01, section 9.2.1

Attributes

This element only includes the global attributes.

DOM Interface

This element implements the HTMLElement interface.

Implementation note: up to Gecko 1.9.2 inclusive, Firefox implements the HTMLSpanElement interface for this element.

Example

<p>When doing x it is <strong>imperative</strong> to do y before proceeding.</p>

Result

When doing x it is imperative to do y before proceeding.

Bold vs. Strong

It is often confusing to new developers why there are so many ways to express the same thing on a rendered website. Bold and Strong are perhaps one of the most common. Why use <strong></strong> vs <b></b>? You have to type a whole lot more with strong and it produces the exact same result, right?

Perhaps not; strong is a logical state, and bold is a physical state. Logical states separate presentation from the content, and by doing so allow for it to be expressed in many different ways. Perhaps instead of rendering some text as bold you want to render it red, or a different size, or underlined, or whatever. It makes more sense to change the presentational properties of strong than it does bold. This is because bold is a physical state; there is no separation of presentation and content, and making bold do anything other than bold text would be confusing and illogical.

It is important to note that <b></b> does have other uses, when one wants to draw attention without increasing importance.

Emphasis vs. Strong

HTML4에서 Strong 은 좀 더 강한 emphasis로 인식되었습니다. 하지만 HTML5에서 Strong 태그는 "content에서 가장 중요한 부분"을 나타냅니다. 이것이 가장 큰 차이점입니다. Emphasis는 ("I love carrots" vs. "I love carrots") 와 같은 문장의 의미를 바꾸려 할 때, Strong은 (e.g., "Warning! This is very dangerous.") 와 같이 문장의 일부분에 중요도를 추가하고 싶을 때 사용됩니다. Strong과 Emphasis 는 강조하기 위해 함께 사용될 수 있습니다.

See also

문서 태그 및 공헌자

 이 페이지의 공헌자: Swalloow
 최종 변경: Swalloow,