How do I enter strikethrough text in a web form

24,690

Solution 1

Actually, you can enter strikethrough text into a web-form using unicode characters, which is pretty universal these days. To generate the text, you could use one of these tools and then copy/paste the output.

http://adamvarga.com/strike/

Solution 2

Strikethrough is like a font. It's an attribute of the text, not text itself. Since forms are submitted in plain text, you can't have any formatting submitted with it.

Share:
24,690

Related videos on Youtube

Admin
Author by

Admin

Updated on September 17, 2022

Comments

  • Admin
    Admin almost 2 years

    Is it possible to submit some text in web form where some of the text is in strikethough?

    Is there some Alt key combination that I can use?

  • harrymc
    harrymc over 14 years
    Richard: From this very page, the above strike-through effect was achieved by the following html code : "<strike>strikethough?</strike>". Evidently, you can't enter anything like that in the form.
  • davr
    davr over 14 years
    hmm...lets try the diacritic. how's this look: ̶s̶t̶r̶i̶k̶e̶
  • davr
    davr over 14 years
    That's pretty cool, comes out on my screen OK. I got it just by copy & pasting the character from the wikipedia unicode page inbetween each letter. If your web form supports unicode, like superuser seems to, then it should work.
  • davr
    davr over 14 years
    Here's another test: u̲n̲d̲e̲r̲l̲i̲n̲e̲
  • törzsmókus
    törzsmókus almost 7 years
    why is it esoteric? just because your languages does not use diacritics often, they are not an esoteric thing…
  • Doug Harris
    Doug Harris almost 7 years
    Fair point. My apologies