Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question
    
could you give us some background as to why you want to, this might help us answer. thanks –  alex Oct 14 '09 at 19:48
add comment

4 Answers

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://herp.in/strike.php

http://adamvarga.com/strike/

share|improve this answer
add comment

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|improve this answer
    
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. –  harrymc Oct 14 '09 at 19:50
add comment

Unless it supports HTML, no, as far as I know.

share|improve this answer
add comment

Probably not, but it depends on the web form. Most web forms accept just plain text.

You see strikethrough on web pages (like in your question) as a bit of HTML formatting. If the web form supports HTML it might support strikethrough. Try using the <strike> tag around your text.

There is also a combining diacritic defined for overlaying strikethrough on Unicode characters, but that's even more esoteric than HTML support in a web form.

share|improve this answer
    
hmm...lets try the diacritic. how's this look: ̶s̶t̶r̶i̶k̶e̶ –  davr Oct 14 '09 at 20:58
    
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 Oct 14 '09 at 20:59
    
Here's another test: u̲n̲d̲e̲r̲l̲i̲n̲e̲ –  davr Oct 14 '09 at 21:01
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.