What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 150 Stack Exchange communities.

Possible Duplicate:
What HTML tags are allowed on Stack Exchange sites?

Within the <pre>-environment the tag <u> has no visible effect (Firefox 7.0.1 but also earlier like 3.6.17). I would expect it to underline. I use <b> already to mean something else (user input - the <kbd> is not very readable for this).

share|improve this question

marked as duplicate by Wesley Murch, animuson, user7116, Arjan, Tim Stone Apr 17 '12 at 21:23

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

possible duplicate of What HTML tags are allowed on Stack Exchange sites?... <u> is (thankfully) not supported at all, regardless of <pre>. Aside: the more you get carried away with the formatting, the less readable your post usually gets. Simpler is better. – Wesley Murch Apr 17 '12 at 21:03
@Wesley Murch: I need the extra formatting for explaining transscripts and program slices. – false Apr 17 '12 at 22:00
Don't use <pre> blocks when you want rich text formatting. Simple. – Cody Gray Apr 18 '12 at 1:06
@The Establishment: How else should I format and annotate program text easily? – false Apr 18 '12 at 11:20
You aren't supposed to "format" program text. It isn't formatted in your editor, either. Use words to describe the problem. See, for example, these questions: Bold code in a question Allow highlighting certain bits of a code fragment or quote Formatting the code block? Code highlighting improvement suggestion Some way to put emphasis on code, please – Cody Gray Apr 18 '12 at 19:53
@The Establishment: I do format program slices. That is, these are programs but annotated w.r.t. a specific semantics. Here is a recent example of me. Please follow the link in the text to see what I mean. – false Apr 18 '12 at 21:26
@The Establishment: Thank you for the references. I went through all of them. The recommendations made are essentially: Quote less program text and the like. But please look at my examples: They are already very short right from the beginning! – false Apr 18 '12 at 22:56
Sorry, I don't know the language under discussion there, so your code samples don't make any sense to me. But in general, I don't understand the purpose for underlining and bolding code. Just leave it out if it doesn't belong. – Cody Gray Apr 18 '12 at 23:11
Also, even in standard HTML, that wouldn't work they way you want it to. – impinball Jan 18 '14 at 23:17

1 Answer 1

up vote 1 down vote accepted

<u> tags are stripped, they are not in the list of allowed HTML for Stack Overflow's Markdown.

See What HTML tags are allowed on Stack Exchange sites?

share|improve this answer
Yeah exactly... – Wesley Murch Apr 17 '12 at 21:05

Not the answer you're looking for? Browse other questions tagged .