vote up 0 vote down star

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?

flag
could you give us some background as to why you want to, this might help us answer. thanks – alex Oct 14 at 19:48

3 Answers

vote up 1 vote down

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.

link|flag
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 at 19:50
vote up 0 vote down

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

link|flag
vote up 0 vote down

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.

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

Your Answer

Get an OpenID
or
never shown

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