<<return to list of topics
There are all kinds of things you can do to your text to give it personality. Simply surround the text you want to format with the opening and closing tags.
If you want to put more than one effect on the same piece of text, you can just keep adding on the tags. But be sure to pay attention to the order of the tags. Close the tags in the reverse order that you opened them, like this:
<center><b><i>hello!</i></b></center>
|
hello!
The italics tags are inside the bold tags which are inside the center tags. Got it? Cool.
Here's a list of tags used to format text:
bold
I freakin' <b>love</b> The Beatles! |
I freakin' love The Beatles!
italics
Who does Paris Hilton think she <i>is</i>? |
Who does Paris Hilton think she is?
underline
There is <u>no way</u> I'm missing the next American Idol auditions. |
There is no way I'm missing the next American Idol auditions.
marquee
<marquee>Catch me if you can! Tee hee!</marquee> |
OR
<marquee behavior="alternate">Catch me if you can! Tee hee!</marquee> |
Testing HTML
To test out the HTML you're writing, you don't even need to use the web. You can view a text document in your web browser to see how the browser reads the HTML.
First, type out your HTML in a text document in a word processing program. Next, you need to save the document. Choose File >Save As from the menu. Save the page as a "plain text" or .html file. Then, open your browser and choose File>Open from the browser menu bar. Open up the HTML file you just saved and see your HTML in the browser as it would be translated on the web. No internet connection needed! Try it out now...we'll wait.