A Truly Frequently Asked Question!Q. How do I add formatting to my comments, blogs and polls?
A. SodaHead allows
limited HTML markup in your content on the site. For those of you who aren't familiar with making web pages, that means you put special tags before and after text to make it look different. I'll try to make it really easy for you to understand, so you can make your text really stand out.
BASICSAll of the formatting you want to do has a basic syntax to it. The text that you want to format has to be wrapped in a start and end "tag" of the correct type. The start and end tags are the same, but the end tag has a / before the keyword. For example, to show underlined text, you type in <u> at the start of the text, and </u> at the end. So <u>underlined text</u> becomes
underlined text.
AVAILABLE TAGSBold TextUse the <strong> and </strong> tags.
Example: <strong>bold text</strong> becomes
bold textUnderlined TextUse the <u> and </u> tags.
Example: <u>underlined text</u> becomes
underlined textSuperscriptUse the <sup> and </sup> tags.
Example: 1<sup>st</sup> becomes 1
stSubscriptUse the <sub> and </sub> tags
Example: H<sub>2</sub>O becomes H
2O
Monospace FontUse the <pre> and </pre> tags. Note:
A line break will be inserted before and after these tags when used, and all line breaks will be shown as double spaced text.Example: <pre>This is preformatted,
monospaced font
text</pre>
becomes
This is preformatted,
monospaced font
text
COMBINING TAGSTags can be combined to achieve different effects, like bold and underlined text (see the section headers of this FAQ). The important thing to remember when combining tags is that they should be
nested and closed in the
REVERSE order in which you opened them.
That means that if you start with a <strong> tag, then a <u> tag, then you should end in the opposite order - closing with the </u> tag, then the </strong> tag.
Example: <strong><u>bold underlined text</u></strong> becomes
bold underlined textCOLOR, ITALICS, STRIKETHROUGHSorry, SodaHead does not support these tags at this time :(
MANUAL LINKSAutomatic links are taken care of for you by SodaHead - just put in a link like
http://www.google.com and SH converts it to a link for you.
What about when you want to make regular text a link? That's easy, too! Then you want to use what is known in the "trade" as an
anchor tag. Here's how you do it:
<a href="http://www.google.com">Text to display</a>
becomes
Text to displayJust make sure that what you put after the
href= is inside double quotes, and that it starts with
http://. Otherwise your browser will try to open it as a file on the Sodahead.com website, which obviously wouldn't be what you intended.
Note: SodaHead will STILL modify the link you put in, to make the link open in a new window or tab, but they will maintain whatever text you put in for the link and the address that you put in.
SPECIAL CHARACTERSTHIS ONLY WORKS IN POLLS AND COMMENTS. YOU CANNOT CURRENTLY USE SPECIAL CHARACTERS IN BLOGS POSTINGS DUE TO A BUG ON THE SH SITE!Special characters can be added to your text by using the correct encoding combination, otherwise known as an HTML Entity.
Some of these you may already be familiar with and have easy to remember names. For example, the Copyright symbol © can be displayed as ©. A heart symbol, ♥, is displayed with ♥. The trademark symbol ™ is dislayed with ™. Others don't have a name and only use a number that represents the ASCII code of the character, like language specific characters. If you want a complete list, do a Google search for "HTML Entities".
Here is a short list of some commonly used characters that may be helpful. Note that these are case senstive.
| Char | Displays As
| ¡ | ¡
| ¿ | ¿
| ¢ | ¢
| £ | £
| ¥ | ¥
| © | ©
| « | «
| » | »
| ® | ®
| ° | °
| ¹ | ¹
| ² | ²
| ³ | ³
| µ | µ
| ¶ | ¶
| ¼ | ¼
| ½ | ½
| ¾ | ¾
| • | •
| ← | ←
| ↑ | ↑
| → | →
| ↓ | ↓
| ↔ | ↔
| ↵ | ↵
| ⇐ | ⇐
| ⇑ | ⇑
| ⇒ | ⇒
| ⇓ | ⇓
| ⇔ | ⇔
| ∞ | ∞
| ∑ | ∑
| π | π
| ♠ | ♠
| ♣ | ♣
| ♦ | ♦
| ♥ | ♥
| † | †
| ‡ | ‡
(don't ask how I got it to work in here - it would take WAY too long to explain :>)
You can find a more complete (but not comprehensive) list online at
http://www.intuitive.com/coolweb/entities.html
MORE HINTS?That's all I can think of. Do you have more hints and helpful ideas for formatting text and making your blogs, polls and comments look better?
Share them!
+++++++++++++#######+++++++++... +++++++++++############++++++... ++++++++++###############++++... +++++++++#####++++++++###++++... ++++++++###++++++++++++###+++... ++++++++##++++++++++++++###++... +++++++##+++++++++++++++####+... +++++++#+++++++++++++++++###+... ++++++##+++++++++++++++++####... ++++++#+++++++++++++++##++###... +++++##++++++++++++##########... +++++##++++++++#+++##+####+##... +++++##++++#####+++#++#####+#... +++++##+++##+###+++#+++****++... +++++##+++++#++#+++#+++++++++... +++++##+++++++++++++#+++++++#... +++++#+++++++++++++++#++++++#... ++++++#+++++++++++++#++++++##... ++++++##+++++++++++####++++##... ++++++++++++++++++####++++++#... +++++##+#+++++++++++++++++++#... +++++#++++++++++++++##++++++#... +++++#++++++++++++######++++#... +++++#+#+#+++++++##+++#+++++#... ++++++#++#++++++##+++###++++#... +++++++#++++++++++++++++++###... +++++++++#+++++++++++#++++###... +++++++++++#+++++++++++++####... ++++++++++++#+++++++++++#####... +++++++++++++#++++++++#######... ++++++++++++++##++++########+... +++++++++++++#++###########++... +++++++++++###+++#########++#... ++++++++#######++++######+++#... ++++++#########+++++++##++++#... +++++##########+++++###++++##... +++############+++++#++++++##... ++##############++++#++++++##... ++##############++++++++++###...
Like that nifty box effect? It’s done with a combination of <hr> to produce the horizontal rules (note: there is no ending tag!) and <blockquote> to indent lines of text with a nifty vertical line on the left.
When quoting a portion of a post to which I’m Replying, I often use this technique in conjunction with <sub> (which on SodaHead visually makes the text smaller without actually subscripting it [which would move its baseline below the baseline of the surrounding text!] — in other words, it does what is supposed to do, but SodaHead strips that tag out, as it does so many others) to visually set off the quoted text, rather than simply enclosing it in “quotation marks.”
The effect looks like this:
Then, my Reply to that particular quoted text can go right after that, like so!
Basically, precede the quoted text with: “<hr> <sub> <blockquote>” (without the spaces) and end it with: “</blockquote> </sub> <hr>” (again no spaces, and also note no slash in the closing <hr>, as it’s not a closing HTML tag, but a separate Horizontal Rule!).
(Note: the way to do that is with <tt>monospaced text goes here</tt>.)
Note that <tt> also produces smaller monospaced text than <pre> does.
I don't get it. Why didn't I get a heart?
You don't need the "<" and ">" for this. Just type in the word &heart;s (make sure to move the semicolon to the end ^_^)
It worked! Thanks!
You can use the standard HTML Named Entities that are used to allow characters that would normally be syntax, in any comment, including when Editing. But not the ones shown above for fancy characters.
I'll look to put that to use.