Changing colour is really easy and really fun! To do this, type (without the quotes around the greater than and less than signs):
Result: This text is red.
Whenever you put the end tag , the colour will stop and the default will return. (We'll talk about how to set the default colour in another session.)
I changed the colour to red. Any colour name can be substituted where the word "red" is. The following colours are considered valid names, and many variations on names are also allowed. Not all colours are listed, as there are many of them!
red blue green yellow orange brown black |
darkred cyan darkblue darkgreen violet aquamarine crimson |
Headings
Header tags are used to create a larger font for use at the beginning of the webpage and when a new topic is introduced. How many different header sizes do you see on this page? As with the tag, to do this, type
Result:
The table below shows the 6 defined sizes for a header.
Size 1 HeaderSize 2 HeaderSize 3 HeaderSize 4 HeaderSize 5 HeaderSize 6 Header |
Font Enhancing Tags
The table below lists the most commonly used font enhancers. These are common in most Word Processing Programs. These tags do nt require the word FONT in front of them. They are independent tags. You can use many tags at once, just remember to end them in the opposite order.
Font Enhancer | Result | Description |
"<"B">" ... "<"/B">" | Result. | Bolds a font |
... | Result. | Makes a font larger. |
Result is a new Line | Moves text to the next line. | |
Centers text. Watch the American spelling! | ||
... | Result. | Emphasizes text; similar to Italics. |
Puts a horizontal line in the page. | ||
... | Result. | Makes text italics. |
... ... | Result | Moves text to a new line with a line in between. Moves text to a new line with a line in between and adds appropriate justification. |
... |
Humpty Dumpty sat on the wall Humpty Dumpty had a great fall | Assumes the the text showing is predefined. Will not change the layout of the text. |
Puts a strike through the text. | ||
... | Result. | Makes text smaller. |
Puts a strike through the text. | ||
STRONG> ... | Result. | Puts a stronger emphasis on the text; darker than bolding. |
... | Result. | Makes text subscripted. |
... | Result. | Makes text superscripted. |
... | Result. | Makes text underlined. |
Examples
Type This... | To Get This... |
A Beautifully Bolded Underlined Title In Italics | A Beautifully Bolded Underlined Title In Italics |
My name is Sean Mc Cann from Great Big Sea. | My name is Sean McCann from Great Big Sea. |
Introduction | Introduction |
Using the function f(x) = x2+2x+5, substitute x1 into the equation to show f(x1) = x12+2x1+5 | Using the function f(x)=x2+2x+5, substitute x1 into the equation to show f(x1)=x12+2x1+5 |
Are you what I think you are Or just what I think I want? | Are you what I think you are Or just what I think I want? |
Are you what I think you are Or just what I think I want? |
Are you what I think you are Or just what I think I want? |
Back to the previous page |
I'm ready for the assignment |