Movatterモバイル変換


[0]ホーム

URL:


MDN Web Docs

<strike>

The<strike>HTML element places a strikethrough (horizontal line) over text.

Warning:This element is deprecated in HTML 4 and XHTML 1, and obsoleted in theHTML Living Standard. If semantically appropriate, i.e., if it representsdeleted content, use<del> instead. In all other cases use<s>.

Attributes

This element includes theglobal attributes.

Examples

html
&lt;strike&gt;: <strike>Today's Special: Salmon</strike> SOLD OUT<br />&lt;s&gt;: <s>Today's Special: Salmon</s> SOLD OUT

Result

Technical summary

DOM interfaceHTMLElement

Specifications

Specification
HTML
# strike

Browser compatibility

See also

  • The<s> element.
  • The<del> element should be used if the data has beendeleted.
  • The CSStext-decoration property can be used to style text with a strikethrough.

Help improve MDN

Learn how to contribute.

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2025 Movatter.jp