MSDN/TechNet Forums: How to Strikeout Text in Your Post

MSDN/TechNet Forums: How to Strikeout Text in Your Post

Sometimes you must use the HTML editor to get exactly what you want in a forum post. An example is when you need to strikeout some text. This places a horizontal line through the middle of the text, indicating it is removed. You must use the HTML editor for this and enclose the text in the proper tags.

First enter the text in the normal forums dialog for posting a question, discussion, or reply. An example is shown below. Then click the icon at the top labeled "HTML" to enter the HTML editor. The icon is circled in red in the image below:



In the HTML editor find the text you want to strikeout. In the example above, the text in the HTML editor appears as below:



Enclose the text in span style tags that specify the line-through text decoration. For example, to strike out the words "hello world":

<span style="text-decoration: line-through;">hello world</span>

as shown in the image below:



When  you click the "Update" button you return to the normal text editor, as shown below, with the specified text shown with the strikeout:



Finally, when you click the "Submit" button, your reply will appear as follows:



It should be noted that other tags that might work in other environments (such as Microsoft Word or Internet Explorer), will not work in the forums. For example, the following will not work and the tags are simply ignored:

<strike>hello world</strike>

<del>hello world</del>

This article is based on the forums discussion in this thread in the "Forums Issues" forum, where the solution was provided by Derosnec:

HTML code not working

See Also


MSDN/TechNet Forums: How to Get a White Space Line to Appear in Your Post
Leave a Comment
  • Please add 2 and 4 and type the answer here:
  • Post
Wiki - Revision Comment List(Revision Comment)
Sort by: Published Date | Most Recent | Most Useful
Comments
  • Richard Mueller edited Revision 7. Comment: Gave credit to Derosnec

  • Richard Mueller edited Revision 2. Comment: Added See Also section

  • Richard Mueller edited Revision 1. Comment: Fixed typo

  • Richard Mueller edited Original. Comment: Added images and expanded the explanation, added tag

Page 1 of 1 (4 items)
Wikis - Comment List
Sort by: Published Date | Most Recent | Most Useful
Posting comments is temporarily disabled until 10:00am PST on Saturday, December 14th. Thank you for your patience.
Comments
  • Richard Mueller edited Original. Comment: Added images and expanded the explanation, added tag

  • Richard Mueller edited Revision 1. Comment: Fixed typo

  • Richard Mueller edited Revision 2. Comment: Added See Also section

  • Hi Richard,

    Do you want to give a specific credit to derosnec?

  • Richard Mueller edited Revision 7. Comment: Gave credit to Derosnec

Page 1 of 1 (5 items)