Other tags you can use in your posts
Posted by adrengski on Thursday, December 8th, 2011Tagged as: tips

Aside from these buttons you see above the text editor, there are more tags that you can use in appropriate circumstances when you click on that HTML button. Some of these enables you to show code snippets as it is, allows you to make subscripts or superscripts, or make texts bigger or smaller.
•Displaying text as it is: <pre></pre>
<pre>Some text here... Some more text here.</pre>
You see that? Wrapping texts around the <pre></pre> tag enables you to display text as it was written. This could be useful for displaying code snippets, formatted poetry, or even song lyrics with all the chords and stuff intact.
It would display even the tab, any space as it is. The codes above would produce something like this:
Some text here... Some more text here.
Sorry if this is confusing, my <pre> tag is formatted to appear like that. You can try it out instead to see what I mean. You can also use <code></code> by the way.
•Making Superscripts: <sup></sup>
2.3443435345 x 10<sup>34</sup>
This one is pretty straight forward. Just wrap the text you want to turn into a superscript with the <sup></sup> tags and it would appear slightly smaller and higher than your normal texts.
The codes above would produce something like this:
2.3443435345 x 1034
•Making Subscripts: <sub></sub>
C<sub>6</sub>H<sub>12</sub>O<sub>6</sub>
Like the superscript, this one, too, is dully straight forward. Just wrap the text you want to turn into a subscript with the <sub></sub> tags and it would appear slightly smaller and lower than your normal texts. This would useful for displaying chemical formulas and mathematical variables.
The codes above would produce something like this:
C6H12O6
•Turning them Big/Small: <big></big> and <small></small>
<big>This sentence is bigger than the next sentence.</big> <small>This sentence is smaller than the previous one</small>
This probably wouldn’t be that new to you. Wrapping texts around <big></big> would make it bigger than normal text; Wrapping texts around <small></small> would make it smaller than normal text. You can also use this multiple times, making the text either bigger or smaller. Just wrap the text around the tags twice.
The codes above would produce something like this:
This sentence is bigger than the next sentence. This sentence is smaller than the previous one
•Dividing Horizons: <hr />
<hr />
This code produces something like these horizontal lines every after topics. This could be useful in separating thoughts, topics in one post. Now, you can stop using tons of dashes or underscores to separate stuff.
So far, those are the tags you might need to know. There are more of course, like <blockquote>, <b></b>, <strike>, <h1>, <h2>, <h3> and so forth, but they’re all up there so I wouldn’t bother tackling them one by one.