Back to Index Lists Fonts Formats Images Links Onward to the next 6



August's HTML Crash Course - Formats

Another intersting thing you can do to text is format it how you want it. You can make text bold, italicized, you can make it line up on the left or right, you can even format text based on the emotion you want to convey [although this is more or less limited to one or two emotions, if they can truly be called that]. I'm taking about what is generally referred to as "in-line" formating. The B [bold] tag and so forth.

This bit it easy, and shouldn't take very long. If you want to make a piece of text bold [any piece of text], then all you have to do is wrap that chunk of text in a B tag. It's that simple. If you want your text to look like this, then your code should look like this:

<B>If you want your text to look like this</B>
There are a number of different formatting tags that work this way, like the <I> tag, for italicizing things, the <STRONG> tag for letting the text know that you want it to assert itself [this usually renders itself in boldface], and the <EM> tag for placing emphasis [which is usually rendered in italics], the list goes on, and on, and on, and on, and on. I'll see if I can find a text file or a site that has a list of all the tags you can use, because I really don't have the space to list them all here. Let's just say that all of those tags work the same way as the <B> tag. Except, of course, for the ones that don't.

"The ones that don't", are alignment attributes, line breaks, and things of that nature. I'll start with line breaks. They look like this <BR>, and you insert them any time you want to force a line break. After all, your browser doesn't read the carriage returns you do in Notepad. It's that simple. The other ones are a little more complicated, but not much.

If you want to change the alignment of, say, a paragraph, then all you have to do is add the following attribute to the paragraph tag: ALIGN="center". Or if you would rather have it move to the right, then replace center with right, and if you would rather have it line up on the left either leave the attribute out [that's the defualt setting anyway], or change the center to left. That's not really all that hard, is it? The final tag will be: <P ALIGN="center">.

And now, the bits you've all been waiting for... you get to add images!

Back to Fonts     Onward to Images

c: august@vestige.org h: http://www.vestige.org