Strikethrough

Look up strikethrough in Wiktionary, the free dictionary.

Strikethrough (also called strikeout) is a typographical presentation of words with a horizontal line through their center, resulting in this effect. Contrary to censored texts, the words remain readable. This presentation signifies one of two meanings. In ink-written, typewritten, or other non-erasable text, the words are a mistake and not meant for inclusion. When used on a computer screen, however, it indicates recently deleted information. It can also be used deliberately to imply a change of thought (as in epanorthosis).

Computer representations

HTML

The HTML presentational inline element for strikethrough is <strike> or <s> This element was, however, deprecated in the 1999 HTML 4.01 standard, and replaced by the <del> tag, a semantic element representing deleted text, which user agents (typically web browsers) often render as a strikethrough.[1][2]

In the HTML5 draft, there is no presentational element for strikethrough. However, there are two related semantic elements. Firstly, <s>, that is strikethrough in HTML 3 and 4, is redefined to mark text that is no longer correct, and secondly, <del> marks text that has been deleted, as it does in HTML 4.01.[3][4]

Other Markup Symbols

CSS

In cascading style sheets (CSS) strikethrough is controlled using the text-decoration property, and specified by the line-through value of that property. For example, <span style="text-decoration: line-through;">ABCD efghi</span> renders like this: ABCD efghi

To maintain backwards compatibility, the following can be added to the CSS: strike {text-decoration:line-through;} The example above could then be written like this: <strike>ABCD efghi</strike>, which is compatible with HTML 4. In HTML 5, this: <del>ABCD efghi</del> also produces the same result, although the use of CSS is preferred.

Unicode

Combining characters

In plain text scenarios where markup cannot be used, Unicode offers a number of combining characters that achieve similar effects.

The “combining long stroke overlay” (U+0336) results in an unbroken stroke across the text:

while the “combining short stroke overlay” (U+0335) results in individually struck out characters:

Similarly, the “combining short solidus overlay” (U+0337) results in diagonally struck out letters:

as does the “combining long solidus overlay” (U+0338), which produces longer diagonal strokes:

Specific struck-through characters

A number of characters that have the visual appearance of struck-through characters exist in Unicode, including ƀ, Đđ, Ǥǥ, Ħħ, Ɨɨ, Ɉɉ, Łł, Ɵɵ, Ŧ, ʉ, Ƶƶ, ƻ, ʡ, ʢ, Ғғ, Ҟҟ, Ұұ, Ҍҍ. These usually have specific functions (for example, in the Latin Extended-A character set) or representations and are not intended for general use. However, they are not precomposed characters and have neither canonical nor compatibility decompositions. This issue has created security considerations since "precomposed" characters like U+019F and sequences like U+004F U+0335 or U+004F U+0336 often cause visual confusion (compare Ɵ and O̵ and O̶). Unicode has acknowledged this issue and has proposed a standardized method for counteraction[7][8]

Historical uses

In medieval manuscripts, "strikethrough" of text with red ink often functions as highlighting (e.g. Domesday Book, c.f. this image), similar to modern underline.

For text written by mistake, it was customary to place dots under the letters to be ignored. This was known as the punctum delens. Strikethrough was also sometimes used.[9]

Double/multiple strikethrough

Double strikethrough is an option in certain word processing applications such as Microsoft Word. There is no generally agreed meaning of double strikethrough, but it may be used as a second level of single strikethrough.

In Japan, double strikethrough is conventionally used (rather than single strikethrough) when striking out text. This is for added clarity, as in complex kanji a single strikethrough may be missed or confused with a stroke in the character.

Double, triple or multiple strikethrough may also (especially formerly) be used as a way of emphasising words. Used this way, it is likely to be misunderstood by the reader.

See also

References

  1. 15.2.1 Font style elements: the TT, I, B, BIG, SMALL, STRIKE, S, and U elements, HTML 4.01 Specification: Alignment, font styles, and horizontal rules, W3C. 24 December 1999.
  2. 9.4 Marking document changes: The INS and DEL elements HTML 4.01 Specification: Text – Paragraphs, Lines, and Phrases, W3C. 24 December 1999.
  3. 4.5.5 The s element HTML5, W3C Last Call Working Draft. 17 June 2014.
  4. 4.6.2 The del element HTML5, W3C Last Call Working Draft 17 June 2014
  5. "GitHub Flavored Markdown".
  6. "Formatting text with-Google bold italic strikethrough". (subscription required)
  7. The Unicode Consortium, The Unicode Standard, Chapter 2, Page 44, Non-decomposition of Overlaid Diacritics
  8. The Unicode Consortium, Unicode Technical Standard #39: Unicode Security Mechanisms, chapter Confusable Detection
  9. Hackett, M.B. (1970). The original statutes of Cambridge University : the text and its history (Digitally printed version, re-issue. ed.). Cambridge: Cambridge Eng. University Press. p. 185. ISBN 9780521070768.
This article is issued from Wikipedia - version of the Saturday, December 12, 2015. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.