Formatting in Filtered HTML
Primary tabs
When posting writings it's important to add formatting to enhance their appearance. Formatting can be used to align text, change the font style, or separate one idea from the other. Use the following guide to help format your writings.
Headings:
This is an H2 heading
This is an H3 heading
Code:
<h2>This is an H2 heading</h2>
<h3>This is an H3 heading</h3>Bold:
This text is bold
Code:
<b>This text is bold</b>Italic:
This text is italic
Code:
<em>This text is italic</em>
</em>
<h2>Underline:</h2>
<u>This text is underlined</u>
Code:
<code>
<u>This text is underlined</u>
Lists:
- This is an unordered List
- Item 1
- Item 2
- Item 3
- This is an ordered List
- Item 1
- Item 2
- Item 3
Code:
<ul>This is an unordered List
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ul>
<ol>This is an ordered List
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ol>Tables:
DL, DT, DD Tags List Data
- Name:
- John Don
- Age:
- 23
- Gender:
- Male
- Day of Birth:
- 12th May 1986
Code:
<h2>DL, DT, DD Tags List Data</h2>
<dl>
<dt>Name: </dt>
<dd>John Don</dd>
<dt>Age: </dt>
<dd>23</dd>
<dt>Gender: </dt>
<dd>Male</dd>
<dt>Day of Birth:</dt>
<dd>12th May 1986</dd>
</dl>
Superscript and Subscript:
Superscript is necessary for exponents like this: X2
Subscript is necessary for atomic notation like this: H2O
Code:
Superscript:
X<sup>2</sup>
Subscript:
H<sub>2</sub>OURLs:
URLs are automatically converted into links. There is no need to add any code for these.
- 832 reads
Recent comments