When typing your Question, Solution, and for some modes also your Answer, you can use HTML tags and CSS style attribute values to add formatting to your questions.
If you are not familiar with using HTML, the following information might be useful:
<b>your_content_here</b>
To type <, type <
To type &, type &
See the following table for examples of some of the most commonly used formatting.
|
Formatting |
Example Code |
Display |
|---|---|---|
| Bold |
<b>bold text</b> |
bold text |
| Italics |
<i>italic text</i> |
italic text |
| Underline |
<u>underlined text</u> |
underlined text |
| Subscript |
text<sub>subscript </sub> |
textsubscript |
| Superscript |
text<sup>superscript</sup> |
textsuperscript |
| Line break |
line<br>new line |
line |
| New paragraph |
paragraph<p>new paragraph |
paragraph new paragraph |
| Indented text |
text <div class='indent'>indented</div> |
|
| Centered text |
text <div class='center'>centered</div> |
|
| Right-aligned text |
text <div class='right'>right-aligned</div> |
|
| Bulleted list |
<ul> <li>first list item</li> <li>next list item</li> <li>last list item</li> </ul> |
|
| Numbered list |
<ol> <li>first list item</li> <li>next list item</li> <li>last list item</li> </ol> |
|
| Simple table - no borders |
<table> <tr><td>top left</td><td>top right</td></tr> <tr><td>bottom left</td><td>bottom right</td></tr> </table> |
|
| Simple table - with borders |
<table border="1"> <tr><td>top left</td><td>top right</td></tr> <tr><td>bottom left</td><td>bottom right</td></tr> </table> |
|