Showing posts with label html. Show all posts
Showing posts with label html. Show all posts

Wednesday, January 30, 2008

HTML Subscript

In my last post, I explained what superscript is and how to specify it in HTML. In this post, we'll look at Subscript.

Subscript is very similar to superscript. You might remember that superscript text is rendered small and above the baseline.

Subscript text, on the other hand, is rendered below the baseline. Subscript text is just as small as superscript.

Subscript text is often used chemical formulas. For example, here's the chemical formula for water:

H2O

You'll notice the "2" was rendered in a smaller font and below the baseline.

Subscripts can also be used in mathematics to represent the number's base (or radix). For example, if you're displaying a hexadecimal value, you could render the letters "hex" in subscript:

CCCFEDhex

To learn how to specify subscripts, check out this page which explains how to render HTML subscripts.

Thursday, January 3, 2008

Changing font on MySpace

There's been a heap of people asking how to change the font on their MySpace profile page (or if they can even change the font at all).

Well, the good news is that yes, you can change your font on your MySpace profile page. Even better news - it's really easy!

The easiest way to change your MySpace font is to use Quackit's MySpace Text Generator.

Or if you prefer, you can check out these MySpace Font Codes.

Now, one thing to remember is that font codes depend on the user's computer having that font installed on their computer. If they don't have the font you specify, things will look different. That's how font code works in HTML/CSS. That's why it's always good to supply 3 options when specifying which font to use. That way, the user's computer will pick the first one that matches.