<HTML> <HEAD> <TITLE> </TITLE>
</HEAD> <BODY> </BODY> </HTML> |
Ok, so to the left we have a basic webpage totaly empty. See for yourself save it in your text editor as an HTML document, open it with your browser, it's blank.
Now between <BODY> and </BODY> Type "The Quick Brown Fox Jumped Over The Lazy Dog"
The Quick Brown Fox Jumped Over The Lazy Dog |
Not too bad, not too good either.
Lets spice it up change <BODY> to
<BODY bgcolor="blue" text="red"> (save and reload) look the background is Blue and the text is Red
The Quick Brown Fox Jumped Over The Lazy Dog |
Lets learn some more HTML shall We? Type <B>BOLD Text</B>
Next <I>Italics</I>
<U>Underline</U>
Multiples <B><I><U>Cool Text</U></I></B>
Just make sure you close them in the correct order <> Open first </> close last.
Lets talk about white space type:
"High
Low"
Now Lets see what it looks like in a web browser
Bummer. Browsers recognize many spaces and returns as only one space.
So to get a new line we'll use <BR> type: High<BR>Low<BR><BR>Very Low
<P> is simmilar to <BR> exept you can use only one at a time and it returns two lines instead of just one
If you look at some pages they have large text headers lets make our own
<H1>Level 1 Header</H1>
<H2>Level 2 Header</H2>
<H3>Level 3 Header</H3>
<H4>Level 4 Header</H4>
<H5>Level 5 Header</H5>
<H6>Level 6 Header</H6>
Level 1 Header
Level 2 Header
Level 3 Header
Level 4 Header
Level 5 Header
Level 6 Header
|
With headers the <H#> and </H#> both retun new lines so to change text size in a paragraph with <H#> headers would not look very good
To change the properties of text we use the <FONT> command.
Type <FONT size=5>Size Five Fonts</FONT>
<FONT size=#> can be set to -2 -1 1 2 3 4 5 6 +1 +2 +3 +4 +5 or +6
Type <FONT color=lime>Green Is Cool</FONT>
Here's a hard one <FONT face="comic sans ms">Cool Dude</FONT>
The problem wiht <FONT face="..."> is that for it to work the viewer must have that font on their computer. There is a way to fix this problem type: <FONT face="creepy,arail">Creepy is a Scarry Font</FONT>
If you have creepy you will see it, if not you will see Arail.
Now Let's Mix!! Since size= color= and face= are all attributes of <FONT> we can use them at the same time.
Type: <FONT size=+1 color=olive face="valium,arial">are you afraid of the dark</FONT>
are you afraid of the dark |
Dig? If you don't have valium font click here.
To create a horizonal line simply type <HR>
You can ajust the properties <HR> type: <HR width=50 size=9> <HR width=70%> <HR width=90% height=10 noshade> <HR width=200 align=right>