Fixing up Your Text

When you are just learning HTML, there is a very basic and easy way to set up your page:

<html>
<head>
<title>Your page title goes here</title>
</head>
<body>

---Everything on your page goes here---

</body>
</html>

This makes it easy to put any extra HTML into your body or head sections.


Another important part of any webpage is your text. There are different tags used for underlining, bolding, and so on:

<b>This makes text bold</b>
This makes text bold

<i>This italicizes your text</i>
This italicizes your text

<u>This underlines your text</u>
This underlines your text

<strong>This makes your text stand out</strong>
This makes your text stand out

<s>This puts a strike through your text</s>
This puts a strike through your text

<sub>This is sub script</sub>
This is subscript

<sup>This is super script</sup>
This is superscript

<u><i>You can <sub>even</sub> add more than one.</i></u>

If you do this, remember to put the end tag in the same space opposite between the same tags. If it is <b><i> on one side, </i></b> is what the other side should look like.

NOTE: The tags strong and bold are actually normally the same thing when used. The difference is that strong is valid XHTML and bold is valid HTML. I used a stylesheet to change them. To learn about stylesheets, click here.

NOTE: My strike tag doesn't have a strike through it because I used a stylesheet to change it. To learn about stylesheets, click here.


How do some people format their text to be a different color? Well, that was by using the code for font face, size, and color. To make the text pretty, use the code:

<font face="FACE" size="SIZE #" color="COLOR">Your text goes here, between the font tags.</font>

If you only want to fix up the face and color, just take the part about size out of the code.

NOTE: Only use this code if you want to change a specific part of text. Otherwise, use style sheets. A guide to that is located here.

Navigation

visitor owner website home

SOTM

Moon at Over The Sky!

Girl
Alex. 4teen. Septembers rule. Left-handed. Likes reading, pasta, polar bears, green, blue, writing, music...
More?Ask me!

Hostess
Thank you Manda!!!

Layout
V.13 Dandelion Music
Made 7.14.08
Took 7 hours
Using PSP
Pic Getty Images
Brushes & BG swimchick.net

Affies

Great graphics and fun! Apply?

Link Me



More?

Tagboard


Stats

eXTReMe Tracker

Back to Top