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.

이 글은 편집 검토가 필요합니다. 도울을 줄 수 있는 방법을 살펴보세요.

이 문서는 아직 자원 봉사자들이 한국어로 번역하지 않았습니다. 함께 해서 번역을 마치도록 도와 주세요!

Obsolete
This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.

Summary

The HTML Strikethrough Element (<strike>) renders text with a strikethrough, or a line through it. This element is obselete in HTML5. Use the <del> instead if the element is marking an edit (deleted text), otherwise use an <s> element.

Usage Note: As with all purely styling elements, <strike> has been deprecated in HTML 4 and XHTML 1, and obsoleted in HTML5. If semantically appropriate, i.e., if it represents deleted content, use the <del> instead; in all other cases use an <s> element.

Attributes

This element has no other attributes than the global attributes, common to all elements.

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

<strike>Today's Special: Salmon</strike> NO LONGER AVAILABLE<br />
<s>Today's Special: Salmon</s> SOLD OUT

Result

Today's Special: Salmon NO LONGER AVAILABLE
Today's Special: Salmon SOLD OUT

See Also

  • The <s> element.
  • The <del> element is to be used instead if the data has been deleted.
  • The CSS text-decoration property is to be used to achieve the former visual aspect of the <strike> element.

문서 태그 및 공헌자

 이 페이지의 공헌자: bboyle, gandalf, kscarfone, jswisher, cjmcqueen, tregagnon, Sheppy, teoli, ethertank, fscholz
 최종 변경: bboyle,